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