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

25 lines
786 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchurl, pkg-config, meson, ninja, gettext, glib, libxml2, perl, python3
2021-03-14 18:12:53 +00:00
, libxslt, libarchive, bzip2, xz, json-glib, libsoup
2017-12-19 05:53:07 +00:00
}:
stdenv.mkDerivation rec {
pname = "osinfo-db-tools";
2021-02-05 08:13:11 +00:00
version = "1.9.0";
2017-12-19 05:53:07 +00:00
src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
2021-02-05 08:13:11 +00:00
sha256 = "sha256-JV8ch4us7HDDAg/1qcsPa9hhygAJ8kYI31729i1SQ8A=";
2017-12-19 05:53:07 +00:00
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ meson ninja pkg-config gettext perl python3 ];
2021-03-14 18:12:53 +00:00
buildInputs = [ glib json-glib libxml2 libxslt libarchive bzip2 xz libsoup ];
2017-12-19 05:53:07 +00:00
meta = with lib; {
2017-12-19 05:53:07 +00:00
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 ];
};
}