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