Merge pull request #146970 from stephaneyfx/remove-numix-cursor-theme-patch

numix-cursor-theme: 1.1 -> 1.2
This commit is contained in:
José Romildo Malaquias 2021-11-28 12:08:49 -03:00 committed by GitHub
commit b7f184a5ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,28 +1,18 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, inkscape, xcursorgen }:
{ lib, stdenv, fetchFromGitHub, inkscape, xcursorgen }:
stdenv.mkDerivation rec {
version = "1.1";
package-name = "numix-cursor-theme";
name = "${package-name}-${version}";
pname = "numix-cursor-theme";
version = "1.2";
src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
repo = pname;
rev = "v${version}";
sha256 = "0p8h48wsy3z5dz9vdnp01fpn6q8ky0h74l5qgixlip557bsa1spi";
sha256 = "1q3w5i0h3ly6i7s9pqjdrb14kp89i78s0havri7lhiqyxizjvcvh";
};
nativeBuildInputs = [ inkscape xcursorgen ];
patches = [
# Remove when https://github.com/numixproject/numix-cursor-theme/pull/7 is merged
(fetchpatch {
url = "https://github.com/stephaneyfx/numix-cursor-theme/commit/3b647bf768cebb8f127b88e3786f6a9640460197.patch";
sha256 = "174kmhlvv76wwvndkys78aqc32051sqg3wzc0xg6b7by4agrbg76";
name = "support-inkscape-1-in-numix-cursor-theme.patch";
})
];
buildPhase = ''
patchShebangs .
HOME=$TMP ./build.sh