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