summary refs log tree commit diff
path: root/pkgs/applications/qubes/qubes-core-vchan-xen/default.nix
blob: ecb9403be36e6397383e6c774dcc58ac13c23661 (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
{ stdenv, fetchFromGitHub, xen_4_10 }:

stdenv.mkDerivation rec {
  pname = "qubes-core-vchan-xen";
  version = "4.1.2";

  src = fetchFromGitHub {
    owner = "QubesOS";
    repo = pname;
    rev = "v${version}";
    sha256 = "1wj4vv8nkzzig52r2nzkd4jy0cwznfkyddx379hfsdl4pzsp55mj";
  };

  buildInputs = [ xen_4_10 ];
  buildPhase = ''
    make all PREFIX=/
  '';
  installPhase = ''
    make install DESTDIR=$out PREFIX=/
  '';

  meta = with stdenv.lib; {
    description = "Libraries required for the higher-level Qubes daemons and tools";
    homepage = "https://qubes-os.org";
    license = licenses.gpl2Plus;
    maintainers = [ maintainers."0x4A6F" ];
    platforms = platforms.linux;
  };
}