forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / gr / graphite-cursors / package.nix
blobb64e7567b25f1289311bca2e74c1f4a9654b800b
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 }:
6 stdenv.mkDerivation rec {
7   pname = "graphite-cursors";
8   version = "2021-11-26";
10   src = fetchFromGitHub {
11     owner = "vinceliuice";
12     repo = pname;
13     rev = version;
14     sha256 = "sha256-Kopl2NweYrq9rhw+0EUMhY/pfGo4g387927TZAhI5/A=";
15   };
17   installPhase = ''
18     install -dm 755 $out/share/icons
19     mv dist-dark $out/share/icons/graphite-dark
20     mv dist-light $out/share/icons/graphite-light
21     mv dist-dark-nord $out/share/icons/graphite-dark-nord
22     mv dist-light-nord $out/share/icons/graphite-light-nord
23   '';
25   meta = with lib; {
26     description = "Graphite cursor theme";
27     homepage = "https://github.com/vinceliuice/Graphite-cursors";
28     license = licenses.gpl3Only;
29     platforms = platforms.all;
30     maintainers = with maintainers; [ oluceps ];
31   };