about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/arcan/cat9/default.nix
blob: 7bc6005b0c65073847bb7e608f6e95b50a8eb9ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib
, stdenvNoCC
, fetchFromGitHub
}:

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "cat9";
  version = "unstable-2023-06-25";

  src = fetchFromGitHub {
    owner = "letoram";
    repo = "cat9";
    rev = "4d8a0c539a5c756acada96fd80e7eb3b9554ac05";
    hash = "sha256-T3RPuldKTzHm0EdfdMOtHv9kcr9oE9YQgdzv/jjPPnc=";
  };

  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.unlicense;
    maintainers = with maintainers; [ AndersonTorres ];
    platforms = platforms.all;
  };
})