nixos/filesystems: don't silently ignore label when device is set (#361418)
[NixPkgs.git] / pkgs / by-name / cy / cyberpunk-neon / package.nix
blobcbaf538c18f89033fd92571e1b046cc842875760
2   lib,
3   stdenvNoCC,
4   fetchFromGitHub,
5   unzip,
6   unstableGitUpdater,
7 }:
9 stdenvNoCC.mkDerivation {
10   pname = "cyberpunk-neon";
11   version = "0-unstable-2024-09-15";
13   src = fetchFromGitHub {
14     owner = "Roboron3042";
15     repo = "Cyberpunk-Neon";
16     rev = "18febaab8aa808889fb08c368e37be4ca79e0cdd";
17     hash = "sha256-YR8au1ukggYsPGecZMkLIf901dbRJSrXVMs2CzaIMBo=";
18   };
20   outputs = [
21     "out"
22     "gtk"
23     "kde"
24     "konsole"
25     "tilix"
26   ];
28   nativeBuildInputs = [ unzip ];
30   installPhase = ''
31     runHook preInstall
33     install -Dt $out/share/doc/cyberpunk-neon/ README.md
35     mkdir -p $gtk/share/themes
36     unzip gtk/materia-cyberpunk-neon.zip -d $gtk/share/themes/
37     unzip gtk/oomox-cyberpunk-neon.zip -d $gtk/share/themes/
39     install -Dt $kde/share/color-schemes kde/cyberpunk-neon.colors
41     install -Dt $konsole/share/konsole terminal/konsole/cyberpunk-neon.colorscheme
43     install -Dt $tilix/share/tilix/schemes terminal/tilix/cyberpunk-neon.json
45     runHook postInstall
46   '';
48   strictDeps = true;
50   passthru = {
51     updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
52   };
54   meta = {
55     homepage = "https://github.com/Roboron3042/Cyberpunk-Neon";
56     description = "Neon themes for many programs";
57     license = lib.licenses.cc-by-sa-40;
58     maintainers = with lib.maintainers; [ AndersonTorres ];
59     platforms = lib.platforms.all;
60   };