5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
45 lines
986 B
Nix
45 lines
986 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "ananicy-rules-cachyos";
|
|
version = "0-unstable-2024-05-10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CachyOS";
|
|
repo = "ananicy-rules";
|
|
rev = "1826cf45201770e20fea2e7bebfc2a5001074703";
|
|
hash = "sha256-9Uth0OvV5NXHZxOCQDMmb0VdXpi8dSMdN9StnJa8n90=";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/etc/ananicy.d
|
|
rm README.md LICENSE
|
|
cp -r * $out/etc/ananicy.d
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
hardcodeZeroVersion = true;
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/CachyOS/ananicy-rules";
|
|
description = "CachyOS' ananicy-rules meant to be used with ananicy-cpp";
|
|
license = lib.licenses.gpl3Only;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [
|
|
artturin
|
|
diniamo
|
|
johnrtitor
|
|
];
|
|
};
|
|
}
|