nixpkgs/pkgs/tools/misc/osinfo-db-tools/default.nix

25 lines
720 B
Nix
Raw Normal View History

2017-12-19 05:53:07 +00:00
{ stdenv, fetchurl, pkgconfig, intltool, glib, libxml2
, libxslt, libarchive, bzip2, lzma, json-glib
2017-12-19 05:53:07 +00:00
}:
stdenv.mkDerivation rec {
pname = "osinfo-db-tools";
version = "1.5.0";
2017-12-19 05:53:07 +00:00
src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.gz";
sha256 = "1pihjwajmahldxi3isnq6wcsbwj0hsnq8z5kp3w4j615ygrn0cgl";
2017-12-19 05:53:07 +00:00
};
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ glib json-glib libxml2 libxslt libarchive bzip2 lzma ];
2017-12-19 05:53:07 +00: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 ];
};
}