2022-03-05 16:20:37 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, libxml2
|
|
|
|
, perl
|
|
|
|
, python3
|
|
|
|
, libxslt
|
|
|
|
, libarchive
|
|
|
|
, bzip2
|
|
|
|
, xz
|
|
|
|
, json-glib
|
|
|
|
, libsoup_3
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "osinfo-db-tools";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "1.10.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-05-29 06:06:01 +00:00
|
|
|
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-gCzdU7QWcG6lhE8Ebdz7ZYwbSQa5+UDHmserxQmBymg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
perl
|
|
|
|
python3
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
json-glib
|
|
|
|
libxml2
|
|
|
|
libxslt
|
|
|
|
libarchive
|
|
|
|
bzip2
|
|
|
|
xz
|
|
|
|
libsoup_3
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tools for managing the osinfo database";
|
|
|
|
homepage = "https://libosinfo.org/";
|
2022-03-05 16:20:37 +00:00
|
|
|
changelog = "https://gitlab.com/libosinfo/osinfo-db-tools/-/blob/v${version}/NEWS";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
2022-08-12 12:06:08 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|