22 # This is a patch from a fork of the upstream repository which addresses several issues with the
23 # build script such as the fact that the style to build isn't hardcoded. We don't simply use this
24 # fork as source, as the upstream repository is what we want to track.
25 buildScriptPatch = fetchpatch2 {
26 name = "use-more-flexible-build-script.patch";
27 url = "https://github.com/KiranWells/Lyra-Cursors/commit/2735acb37a51792388497c666cc28370660217cb.patch?full_index=1";
28 hash = "sha256-KCT4zNdep1TB7Oa4qrPw374ahT30o9/QrNTEgobp8zM=";
31 stdenvNoCC.mkDerivation {
32 pname = "lyra-cursors";
33 version = "0-unstable-2021-12-04";
35 src = fetchFromGitHub {
36 owner = "yeyushengfan258";
37 repo = "Lyra-Cursors";
38 rev = "c096c54034f95bd35699b3226250e5c5ec015d9a";
39 hash = "sha256-lfaX8ouE0JaQwVBpAGsrLIExQZ2rCSFKPs3cch17eYg=";
47 patches = [ buildScriptPatch ];
52 patchShebangs build.sh
59 for THEME in ${lib.escapeShellArgs styles}; do
69 mkdir -p $out/share/icons
70 mv dist/*-cursors $out/share/icons
76 description = "A cursor theme inspired by macOS and based on capitaine-cursors";
77 homepage = "https://github.com/yeyushengfan258/Lyra-Cursors";
78 license = lib.licenses.gpl3Only;
79 platforms = lib.platforms.all;
80 maintainers = with lib.maintainers; [ lordmzte ];