nixpkgs/pkgs/tools/misc/osinfo-db-tools/default.nix
Will Dietz 38cc275148 osinfo-db-tools: 1.2.0 -> 1.4.0
add new dep json-glib
2019-03-01 15:30:39 -06:00

25 lines
720 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, glib, libxml2
, libxslt, libarchive, bzip2, lzma, json-glib
}:
stdenv.mkDerivation rec {
pname = "osinfo-db-tools";
version = "1.4.0";
src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.gz";
sha256 = "08zpjq1g27n6wmmqwxws95w045warhg9bxcv1phvkdcrddf15q3y";
};
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ glib json-glib libxml2 libxslt libarchive bzip2 lzma ];
meta = with stdenv.lib; {
description = "Tools for managing the osinfo database";
homepage = https://libosinfo.org/;
license = licenses.lgpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}