From 56423fd97b6a753c593694b04fd3a575298dcbc4 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 22 Oct 2022 02:55:35 -0300 Subject: [PATCH] arcanPackages.cat9: init at unstable-2018-09-13 --- pkgs/desktops/arcan/cat9/default.nix | 37 ++++++++++++++++++++++++++++ pkgs/desktops/arcan/default.nix | 8 +++++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 pkgs/desktops/arcan/cat9/default.nix diff --git a/pkgs/desktops/arcan/cat9/default.nix b/pkgs/desktops/arcan/cat9/default.nix new file mode 100644 index 000000000000..909f4d57993b --- /dev/null +++ b/pkgs/desktops/arcan/cat9/default.nix @@ -0,0 +1,37 @@ +{ lib +, stdenvNoCC +, fetchFromGitHub +}: + +stdenvNoCC.mkDerivation (finalPackages: { + pname = "cat9"; + version = "unstable-2018-09-13"; + + src = fetchFromGitHub { + owner = "letoram"; + repo = finalPackages.pname; + rev = "754d9d2900d647a0fa264720528117471a32f295"; + hash = "sha256-UmbynVOJYvHz+deA99lj/BBFOauZzwSNs+qR28pASPY="; + }; + + dontConfigure = true; + + dontBuild = true; + + installPhase = '' + runHook preInstall + + mkdir -p ${placeholder "out"}/share/arcan/appl/cat9 + cp -a ./* ${placeholder "out"}/share/arcan/appl/cat9 + + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/letoram/cat9"; + description = "A User shell for LASH"; + license = licenses.bsd3; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.all; + }; +}) diff --git a/pkgs/desktops/arcan/default.nix b/pkgs/desktops/arcan/default.nix index 3db4d4eb819c..76cc6a2a4a03 100644 --- a/pkgs/desktops/arcan/default.nix +++ b/pkgs/desktops/arcan/default.nix @@ -15,6 +15,12 @@ lib.makeScope pkgs.newScope (self: with self; { # Appls + cat9 = callPackage ./cat9 { }; + cat9-wrapped = callPackage ./wrapper.nix { + name = "cat9-wrapped"; + appls = [ cat9 ]; + }; + durden = callPackage ./durden { }; durden-wrapped = callPackage ./wrapper.nix { name = "durden-wrapped"; @@ -38,6 +44,6 @@ lib.makeScope pkgs.newScope (self: with self; { all-wrapped = callPackage ./wrapper.nix { name = "all-wrapped"; - appls = [ durden pipeworld ]; + appls = [ durden cat9 pipeworld ]; }; })