diff --git a/pkgs/desktops/arcan/default.nix b/pkgs/desktops/arcan/default.nix index 7d3013c6c4ea..989ba69b90f9 100644 --- a/pkgs/desktops/arcan/default.nix +++ b/pkgs/desktops/arcan/default.nix @@ -12,4 +12,12 @@ rec { arcan = callPackage ./arcan.nix { }; arcan-wrapped = callPackage ./wrapper.nix { }; xarcan = callPackage ./xarcan.nix { }; + + # Appls + + durden = callPackage ./durden.nix { }; + durden-wrapped = callPackage ./wrapper.nix { + name = "durden-wrapped"; + appls = [ durden ]; + }; } diff --git a/pkgs/desktops/arcan/durden.nix b/pkgs/desktops/arcan/durden.nix new file mode 100644 index 000000000000..cfe41cb6ec22 --- /dev/null +++ b/pkgs/desktops/arcan/durden.nix @@ -0,0 +1,39 @@ +{ lib +, stdenv +, fetchFromGitHub +}: + +stdenv.mkDerivation rec { + pname = "durden"; + version = "0.6.1+unstable=2021-06-25"; + + src = fetchFromGitHub { + owner = "letoram"; + repo = pname; + rev = "fb618fccc57a68b6ce933b4df5822acd1965d591"; + hash = "sha256-PovI837Xca4wV0g0s4tYUMFGVUDf+f8HcdvM1+0aDxk="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p ${placeholder "out"}/share/arcan/appl/ + cp -a ./durden ${placeholder "out"}/share/arcan/appl/ + + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://durden.arcan-fe.com/"; + description = "Reference Desktop Environment for Arcan"; + longDescription = '' + Durden is a desktop environment for the Arcan Display Server. It serves + both as a reference showcase on how to take advantage of some of the + features in Arcan, and as a very competent entry to the advanced-user side + of the desktop environment spectrum. + ''; + license = licenses.bsd3; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.all; + }; +}