evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / vi / vimix-cursor-theme / package.nix
bloba276ae1ea245351bb9223970083fb1311cf9ffd4
1 { stdenvNoCC
2 , fetchFromGitHub
3 , lib
4 }:
6 stdenvNoCC.mkDerivation rec {
7   pname = "vimix-cursor-theme";
8   version = "2020-02-24";
10   src = fetchFromGitHub {
11     owner = "vinceliuice";
12     repo = "Vimix-cursors";
13     rev = version;
14     hash = "sha256-TfcDer85+UOtDMJVZJQr81dDy4ekjYgEvH1RE1IHMi4=";
15   };
17   installPhase = ''
18     sed -i 's/Vimix Cursors$/Vimix-Cursors/g' dist{,-white}/index.theme
20     install -dm 755 $out/share/icons/Vimix-Cursors{,-White}
22     cp -dr --no-preserve='ownership' dist/*        $out/share/icons/Vimix-Cursors
23     cp -dr --no-preserve='ownership' dist-white/*  $out/share/icons/Vimix-Cursors-White
24   '';
26   meta = with lib; {
27     description = "X-cursor theme inspired by Materia design and based on capitaine-cursors";
28     homepage = "https://github.com/vinceliuice/Vimix-cursors";
29     license = licenses.gpl3Only;
30     platforms = platforms.all;
31     maintainers = with maintainers; [ redxtech ];
32   };