Merge pull request #331410 from museoa/upload-cyberpunk-neon
cyberpunk-neon: init at 0-unstable-2024-02-23
This commit is contained in:
commit
04e8554b12
61
pkgs/by-name/cy/cyberpunk-neon/package.nix
Normal file
61
pkgs/by-name/cy/cyberpunk-neon/package.nix
Normal file
@ -0,0 +1,61 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
unzip,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "cyberpunk-neon";
|
||||
version = "0-unstable-2024-02-23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Roboron3042";
|
||||
repo = "Cyberpunk-Neon";
|
||||
rev = "258b3956a677d56df3027f3d08eabf07da936ec3";
|
||||
hash = "sha256-00scMHUgesgEmE9naC/AJ9mCRz325jT5WN0uo+u2s6k=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"gtk"
|
||||
"kde"
|
||||
"konsole"
|
||||
"tilix"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dt $out/share/doc/cyberpunk-neon/ README.md
|
||||
|
||||
mkdir -p $gtk/share/themes
|
||||
unzip gtk/materia-cyberpunk-neon.zip -d $gtk/share/themes/
|
||||
unzip gtk/oomox-cyberpunk-neon.zip -d $gtk/share/themes/
|
||||
|
||||
install -Dt $kde/share/color-schemes kde/cyberpunk-neon.colors
|
||||
|
||||
install -Dt $konsole/share/konsole terminal/konsole/cyberpunk-neon.colorscheme
|
||||
|
||||
install -Dt $tilix/share/tilix/schemes terminal/tilix/cyberpunk-neon.json
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/Roboron3042/Cyberpunk-Neon";
|
||||
description = "Neon themes for many programs";
|
||||
license = lib.licenses.cc-by-sa-40;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user