diff options
Diffstat (limited to 'pkgs/applications/virtualization/libgovirt/default.nix')
-rw-r--r-- | pkgs/applications/virtualization/libgovirt/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/libgovirt/default.nix b/pkgs/applications/virtualization/libgovirt/default.nix new file mode 100644 index 0000000000000..bd92f7666abf9 --- /dev/null +++ b/pkgs/applications/virtualization/libgovirt/default.nix @@ -0,0 +1,39 @@ +{ lib +, stdenv +, fetchurl +, glib +, librest +, libsoup +, pkg-config +}: + +with lib; + +stdenv.mkDerivation rec { + pname = "libgovirt"; + version = "0.3.8"; + + src = fetchurl { + url = "https://download.gnome.org/sources/libgovirt/0.3/${pname}-${version}.tar.xz"; + sha256 = "sha256-HckYYikXa9+p8l/Y+oLAoFi2pgwcyAfHUH7IqTwPHfg="; + }; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + pkg-config + ]; + + propagatedBuildInputs = [ + librest + libsoup + ]; + + meta = { + homepage = "https://gitlab.gnome.org/GNOME/libgovirt"; + description = "GObject wrapper for the oVirt REST API"; + maintainers = [ maintainers.amarshall ]; + platforms = platforms.linux; + license = licenses.lgpl21; + }; +} |