summary refs log tree commit diff
path: root/pkgs/applications/virtualization/libgovirt/default.nix
blob: bd92f7666abf99213c1e527d0cf1d3d7f30a7a64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;
  };
}