diff options
author | Emily Trau <13267947+emilytrau@users.noreply.github.com> | 2023-12-02 13:11:50 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 13:11:50 +1100 |
commit | e89f1d2e5c402a726c1833721b6b7e2fbaa8e1ea (patch) | |
tree | ba971bf5fa9cebafee97072e46ff03ca1c9cbb97 /pkgs | |
parent | d37940bea4e9938a07702857a42923401fcdbd92 (diff) | |
parent | 729fa5a136cd80fd434d253371f4e4c7eeba8697 (diff) |
Merge pull request #255963 from redxtech/vimix-cursor-theme
vimix-cursor-theme: init at 2020-02-24
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/data/icons/vimix-cursor-theme/default.nix | 33 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/data/icons/vimix-cursor-theme/default.nix b/pkgs/data/icons/vimix-cursor-theme/default.nix new file mode 100644 index 0000000000000..4d20acca83b05 --- /dev/null +++ b/pkgs/data/icons/vimix-cursor-theme/default.nix @@ -0,0 +1,33 @@ +{ stdenvNoCC +, fetchFromGitHub +, lib +}: + +stdenvNoCC.mkDerivation rec { + pname = "vimix-cursor-theme"; + version = "2020-02-24"; + + src = fetchFromGitHub { + owner = "vinceliuice"; + repo = "Vimix-cursors"; + rev = version; + hash = "sha256-TfcDer85+UOtDMJVZJQr81dDy4ekjYgEvH1RE1IHMi4="; + }; + + installPhase = '' + sed -i 's/Vimix Cursors$/Vimix-Cursors/g' dist{,-white}/index.theme + + install -dm 755 $out/share/icons/Vimix-Cursors{,-White} + + cp -dr --no-preserve='ownership' dist/* $out/share/icons/Vimix-Cursors + cp -dr --no-preserve='ownership' dist-white/* $out/share/icons/Vimix-Cursors-White + ''; + + meta = with lib; { + description = "An x-cursor theme inspired by Materia design and based on capitaine-cursors"; + homepage = "https://github.com/vinceliuice/Vimix-cursors"; + license = licenses.gpl3Only; + platforms = platforms.all; + maintainers = with maintainers; [ redxtech ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4c8ec48471a16..72e76eadefa03 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30194,6 +30194,8 @@ with pkgs; victor-mono = callPackage ../data/fonts/victor-mono { }; + vimix-cursor-theme = callPackage ../data/icons/vimix-cursor-theme { }; + vimix-gtk-themes = callPackage ../data/themes/vimix { inherit (gnome) gnome-shell; }; |