aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/qubes/qubes-core-vchan-xen/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/qubes/qubes-core-vchan-xen/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/qubes/qubes-core-vchan-xen/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/qubes/qubes-core-vchan-xen/default.nix b/nixpkgs/pkgs/applications/qubes/qubes-core-vchan-xen/default.nix
new file mode 100644
index 00000000000..e8241ede96c
--- /dev/null
+++ b/nixpkgs/pkgs/applications/qubes/qubes-core-vchan-xen/default.nix
@@ -0,0 +1,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 = with maintainers; [ "0x4A6F" ];
+ platforms = platforms.linux;
+ };
+}
+