2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenvNoCC,
|
|
|
|
fetchFromGitHub,
|
|
|
|
unstableGitUpdater,
|
|
|
|
}:
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "ananicy-rules-cachyos";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "0-unstable-2024-06-22";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CachyOS";
|
|
|
|
repo = "ananicy-rules";
|
2024-07-01 15:47:52 +00:00
|
|
|
rev = "049badd3263ed2af20c9e98b062f8c31cf74cec6";
|
|
|
|
hash = "sha256-KEFXCaLZL3D7ue4W+MqODg/F633sU8JzDMKM2ebUoD8=";
|
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
|
|
|
'';
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
hardcodeZeroVersion = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2023-07-15 17:15:38 +00:00
|
|
|
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";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = lib.licenses.gpl3Only;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
artturin
|
|
|
|
diniamo
|
|
|
|
johnrtitor
|
|
|
|
];
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
}
|