about summary refs log tree commit diff
path: root/nixpkgs/pkgs/misc/ananicy-rules-cachyos/default.nix
blob: 096528fa3538d810bd723d599c5370900a5502c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "ananicy";
  version = "unstable-2023-10-11";

  src = fetchFromGitHub {
    owner = "CachyOS";
    repo = "ananicy-rules";
    rev = "3dafc3eb667b6ed7024359de78bf961c7248954d";
    sha256 = "sha256-bMwM/2R6jdgrQ6C0JnHyMp9L4OWI6KVGcninrr7wLQ8=";
  };

  dontConfigure = true;
  dontBuild = true;

  installPhase = ''
    runHook preBuild
    mkdir -p $out
    cp -r * $out
    rm $out/README.md
    runHook postBuild
  '';

  meta = with lib; {
    homepage = "https://github.com/CachyOS/ananicy-rules";
    description = "ananicy-cpp-rules for CachyOS ";
    license = licenses.gpl3Only;
    platforms = platforms.linux;
    maintainers = with maintainers; [ artturin ];
  };
}