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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
954 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, pkg-config
, meson
, ninja
, gettext
, glib
, libxml2
, perl
, python3
, libxslt
, libarchive
, bzip2
, xz
, json-glib
, libsoup_3
2017-12-19 05:53:07 +00:00
}:
stdenv.mkDerivation rec {
pname = "osinfo-db-tools";
version = "1.10.0";
2017-12-19 05:53:07 +00:00
src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
sha256 = "sha256-gCzdU7QWcG6lhE8Ebdz7ZYwbSQa5+UDHmserxQmBymg=";
2017-12-19 05:53:07 +00:00
};
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
perl
python3
];
buildInputs = [
glib
json-glib
libxml2
libxslt
libarchive
bzip2
xz
libsoup_3
];
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/";
changelog = "https://gitlab.com/libosinfo/osinfo-db-tools/-/blob/v${version}/NEWS";
2017-12-19 05:53:07 +00:00
license = licenses.lgpl2Plus;
2022-07-28 14:24:15 +00:00
platforms = platforms.unix;
2017-12-19 05:53:07 +00:00
maintainers = [ maintainers.bjornfor ];
};
}