chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / vi / vimix-cursors / package.nix
blobb42d053be6ae38adb01e50790579cfa23f4439c4
1 { lib
2 , fetchFromGitHub
3 , stdenvNoCC
4 , inkscape
5 , python3Packages
6 , xcursorgen
7 }:
8 stdenvNoCC.mkDerivation {
9   pname = "vimix-cursors";
10   version = "2020-02-24-unstable-2021-09-18";
12   src = fetchFromGitHub {
13     owner = "vinceliuice";
14     repo = "vimix-cursors";
15     rev = "9bc292f40904e0a33780eda5c5d92eb9a1154e9c";
16     hash = "sha256-zW7nJjmB3e+tjEwgiCrdEe5yzJuGBNdefDdyWvgYIUU=";
17   };
19   nativeBuildInputs = [
20     inkscape
21     python3Packages.cairosvg
22     xcursorgen
23   ];
25   postPatch = ''
26     patchShebangs .
27   '';
29   buildPhase = ''
30     runHook preBuild
32     HOME="$NIX_BUILD_ROOT" ./build.sh
34     runHook postBuild
35   '';
37   installPhase = ''
38     runHook preInstall
40     install -dm 755 $out/share/icons
41     for color in "" "-white"; do
42       cp -pr "dist$color/"  "$out/share/icons/Vimix$color-cursors"
43     done
45     runHook postInstall
46   '';
48   meta = with lib; {
49     description = "X cursor theme inspired by Materia design";
50     homepage = "https://github.com/vinceliuice/Vimix-cursors";
51     license = licenses.gpl3Only;
52     maintainers = with maintainers; [ ambroisie ];
53     platforms = platforms.linux;
54   };