3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/osinfo-db-tools/default.nix

25 lines
791 B
Nix
Raw Normal View History

{ 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 {
pname = "osinfo-db-tools";
2020-06-10 22:00:38 +01:00
version = "1.8.0";
2017-12-19 05:53:07 +00:00
src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
2020-06-10 22:00:38 +01:00
sha256 = "038q3gzdbkfkhpicj0755mw1q4gbvn57pslpw8n2dp3lds9im0g9";
2017-12-19 05:53:07 +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";
homepage = "https://libosinfo.org/";
2017-12-19 05:53:07 +00:00
license = licenses.lgpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}