2024-04-21 15:54:59 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "ananicy-rules-cachyos";
|
|
|
|
version = "unstable-2024-04-16";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CachyOS";
|
|
|
|
repo = "ananicy-rules";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "7abaddd5cac23d9fd7a0f0aeccb7a0287456802b";
|
|
|
|
hash = "sha256-06q9dYLdg+AhT8L2OeoDsG7hHlmx/uf/RIwblODiSnE=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2024-04-21 15:54:59 +00:00
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/etc/ananicy.d
|
|
|
|
rm README.md LICENSE
|
|
|
|
cp -r * $out/etc/ananicy.d
|
|
|
|
runHook postInstall
|
2023-07-15 17:15:38 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/CachyOS/ananicy-rules";
|
2024-04-21 15:54:59 +00:00
|
|
|
description = "CachyOS' ananicy-rules meant to be used with ananicy-cpp";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.linux;
|
2024-04-21 15:54:59 +00:00
|
|
|
maintainers = with maintainers; [ artturin johnrtitor diniamo ];
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
}
|