nixpkgs/pkgs/applications/virtualization/libgovirt/default.nix

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

54 lines
978 B
Nix
Raw Normal View History

2022-02-14 23:37:24 +00:00
{ lib
, stdenv
, fetchurl
, glib
, gnome
2022-02-14 23:37:24 +00:00
, librest
, libsoup
, pkg-config
, gobject-introspection
2022-02-14 23:37:24 +00:00
}:
stdenv.mkDerivation rec {
pname = "libgovirt";
version = "0.3.8";
outputs = [ "out" "dev" ];
2022-02-14 23:37:24 +00:00
src = fetchurl {
url = "mirror://gnome/sources/libgovirt/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "HckYYikXa9+p8l/Y+oLAoFi2pgwcyAfHUH7IqTwPHfg=";
2022-02-14 23:37:24 +00:00
};
nativeBuildInputs = [
pkg-config
gobject-introspection
];
buildInputs = [
libsoup
2022-02-14 23:37:24 +00:00
];
propagatedBuildInputs = [
glib
2022-02-14 23:37:24 +00:00
librest
];
enableParallelBuilding = true;
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
2022-02-14 23:37:24 +00:00
homepage = "https://gitlab.gnome.org/GNOME/libgovirt";
description = "GObject wrapper for the oVirt REST API";
maintainers = [ maintainers.amarshall ];
platforms = platforms.linux;
license = licenses.lgpl21Plus;
2022-02-14 23:37:24 +00:00
};
}