nixpkgs/pkgs/by-name/an/ananicy-rules-cachyos/package.nix
Masum Reza 791e05037d
ananicy-rules-cachyos: unstable-2024-04-22 -> unstable-2024-05-04 (#309083)
* ananicy-rules-cachyos: unstable-2024-04-22 -> unstable-2024-05-04

* ananicy-rules-cachyos: format using nixfmt-rfc-style

* ananicy-rules-cachyos: migrate to pkgs/by-name
2024-05-04 21:56:40 +03:00

41 lines
877 B
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation {
pname = "ananicy-rules-cachyos";
version = "unstable-2024-05-04";
src = fetchFromGitHub {
owner = "CachyOS";
repo = "ananicy-rules";
rev = "5276c6dd11966dcf6f9588c6148949837abb8200";
hash = "sha256-we2kdQb5rSJldP0HxBLAR5czTc3aayWElp5vAfmQ4ag=";
};
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
'';
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
];
};
}