2019-08-21 03:22:15 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gettext, glib, libxml2, perl
|
|
|
|
, libxslt, libarchive, bzip2, lzma, json-glib, libsoup
|
2017-12-19 06:53:07 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-01 22:19:25 +01:00
|
|
|
pname = "osinfo-db-tools";
|
2019-08-21 03:22:15 +02:00
|
|
|
version = "1.6.0";
|
2017-12-19 06:53:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-01 22:19:25 +01:00
|
|
|
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.gz";
|
2019-08-21 03:22:15 +02:00
|
|
|
sha256 = "0x155d4hqz7mabgqvgydqjm9d8aabc78vr0v0pnsp9vkdlcv3mfh";
|
2017-12-19 06:53:07 +01:00
|
|
|
};
|
|
|
|
|
2019-08-21 03:22:15 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext perl ];
|
|
|
|
buildInputs = [ glib json-glib libxml2 libxslt libarchive bzip2 lzma libsoup ];
|
2017-12-19 06:53:07 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tools for managing the osinfo database";
|
|
|
|
homepage = https://libosinfo.org/;
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|