nixpkgs/pkgs/applications/qubes/qubes-core-vchan-xen/default.nix

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

36 lines
747 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
2023-03-14 22:12:09 +01:00
, xen
}:
2019-08-31 16:16:45 +02:00
stdenv.mkDerivation rec {
pname = "qubes-core-vchan-xen";
version = "4.1.4";
2019-08-31 16:16:45 +02:00
src = fetchFromGitHub {
owner = "QubesOS";
repo = pname;
rev = "v${version}";
hash = "sha256:02l1vs5c2jfw22gxvl2fb66m0d99n8ya1i7rphsb5cxsljvxary0";
2019-08-31 16:16:45 +02:00
};
2023-03-14 22:12:09 +01:00
buildInputs = [ xen ];
2019-08-31 16:16:45 +02:00
buildPhase = ''
make all PREFIX=/ LIBDIR="$out/lib" INCLUDEDIR="$out/include"
2019-08-31 16:16:45 +02:00
'';
2019-08-31 16:16:45 +02:00
installPhase = ''
make install DESTDIR=$out PREFIX=/
'';
meta = with lib; {
2019-08-31 16:16:45 +02:00
description = "Libraries required for the higher-level Qubes daemons and tools";
homepage = "https://qubes-os.org";
license = licenses.gpl2Plus;
2020-07-29 12:49:07 +02:00
maintainers = with maintainers; [ _0x4A6F ];
2019-08-31 16:16:45 +02:00
platforms = platforms.linux;
};
2019-08-31 16:16:45 +02:00
}