diff options
author | Edmund Wu <22758444+eadwu@users.noreply.github.com> | 2018-07-31 17:47:31 -0400 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-07-31 23:47:31 +0200 |
commit | bb0cb24de2b4bcda4dd64cf50626d2a8567814c2 (patch) | |
tree | 95ce38111df88934632944946ce8310ebfdace5c /pkgs/data/icons/capitaine-cursors | |
parent | 39566d31d5c8647536400cb5dbef2b000c87af02 (diff) | |
download | nixlib-bb0cb24de2b4bcda4dd64cf50626d2a8567814c2.tar nixlib-bb0cb24de2b4bcda4dd64cf50626d2a8567814c2.tar.gz nixlib-bb0cb24de2b4bcda4dd64cf50626d2a8567814c2.tar.bz2 nixlib-bb0cb24de2b4bcda4dd64cf50626d2a8567814c2.tar.lz nixlib-bb0cb24de2b4bcda4dd64cf50626d2a8567814c2.tar.xz nixlib-bb0cb24de2b4bcda4dd64cf50626d2a8567814c2.tar.zst nixlib-bb0cb24de2b4bcda4dd64cf50626d2a8567814c2.zip |
capitaine-cursors: init at r2.1 (#44208)
Diffstat (limited to 'pkgs/data/icons/capitaine-cursors')
-rw-r--r-- | pkgs/data/icons/capitaine-cursors/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/data/icons/capitaine-cursors/default.nix b/pkgs/data/icons/capitaine-cursors/default.nix new file mode 100644 index 000000000000..94a5449332b9 --- /dev/null +++ b/pkgs/data/icons/capitaine-cursors/default.nix @@ -0,0 +1,45 @@ +{ stdenv, fetchFromGitHub +, inkscape, xcursorgen }: + +stdenv.mkDerivation rec { + name = "capitaine-cursors-${version}"; + version = "2.1"; + + src = fetchFromGitHub { + owner = "keeferrourke"; + repo = "capitaine-cursors"; + rev = "r${version}"; + sha256 = "0ljvq1dqscp5gyf23qszn2ax80bxkqw2vx5zh3qln9vnzfascirb"; + }; + + postPatch = '' + patchShebangs . + ''; + + buildInputs =[ + inkscape + xcursorgen + ]; + + buildPhase = '' + # https://github.com/NixOS/nixpkgs/blob/master/pkgs/data/fonts/emojione/default.nix#L16 + HOME="$NIX_BUILD_ROOT" ./build.sh + ''; + + installPhase = '' + install -dm 0755 $out/share/icons + cp -pr dist $out/share/icons/capitaine-cursors + ''; + + meta = with stdenv.lib; { + description = '' + An x-cursor theme inspired by macOS and based on KDE Breeze + ''; + homepage = https://github.com/keeferrourke/capitaine-cursors; + license = licenses.lgpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ + eadwu + ]; + }; +} |