mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
8402a74cce
The Inkscape CLI interface has been changed with 1.x and packages are not adjusted yet to this change. Let's use inkscape 0.x instead.
35 lines
851 B
Nix
35 lines
851 B
Nix
{ stdenv, fetchFromGitHub, inkscape_0, xcursorgen }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.1";
|
|
package-name = "numix-cursor-theme";
|
|
name = "${package-name}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "numixproject";
|
|
repo = package-name;
|
|
rev = "v${version}";
|
|
sha256 = "0p8h48wsy3z5dz9vdnp01fpn6q8ky0h74l5qgixlip557bsa1spi";
|
|
};
|
|
|
|
nativeBuildInputs = [ inkscape_0 xcursorgen ];
|
|
|
|
buildPhase = ''
|
|
patchShebangs .
|
|
HOME=$TMP ./build.sh
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -dm 755 $out/share/icons
|
|
cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} $out/share/icons/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Numix cursor theme";
|
|
homepage = "https://numixproject.github.io";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ offline ];
|
|
};
|
|
}
|