2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, meson, ninja, gettext, glib, libxml2, perl, python3
|
2020-04-24 23:36:52 +00:00
|
|
|
, libxslt, libarchive, bzip2, lzma, json-glib, libsoup
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "osinfo-db-tools";
|
2020-06-18 07:06:33 +00:00
|
|
|
version = "1.8.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";
|
2020-06-18 07:06:33 +00:00
|
|
|
sha256 = "038q3gzdbkfkhpicj0755mw1q4gbvn57pslpw8n2dp3lds9im0g9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config gettext perl python3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ glib json-glib libxml2 libxslt libarchive bzip2 lzma libsoup ];
|
|
|
|
|
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/";
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|