Merge pull request #197171 from atorres1985-contrib/arcan-cat9

arcanPackages.cat9: init at unstable-2018-09-13
This commit is contained in:
Anderson Torres 2022-10-22 11:59:00 -03:00 committed by GitHub
commit 5906d56cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 1 deletions

View File

@ -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;
};
})

View File

@ -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 ];
};
})