diff options
author | José Romildo <malaquias@gmail.com> | 2021-11-09 09:25:15 -0300 |
---|---|---|
committer | José Romildo <malaquias@gmail.com> | 2021-11-09 11:23:56 -0300 |
commit | 09d0495b1e9654004b58294f5564668e834f962f (patch) | |
tree | f2fc3665efe8332197e507901c32482e31a2d0e4 /pkgs/data/icons/vimix-icon-theme | |
parent | ce5f4a0dbfabf2d60cd55df5b672bacff4c2007d (diff) |
vimix-icon-theme: init at 2021-11-09
Diffstat (limited to 'pkgs/data/icons/vimix-icon-theme')
-rw-r--r-- | pkgs/data/icons/vimix-icon-theme/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/data/icons/vimix-icon-theme/default.nix b/pkgs/data/icons/vimix-icon-theme/default.nix new file mode 100644 index 0000000000000..502a8023c9bd2 --- /dev/null +++ b/pkgs/data/icons/vimix-icon-theme/default.nix @@ -0,0 +1,40 @@ +{ lib, stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme, jdupes }: + +stdenv.mkDerivation rec { + pname = "vimix-icon-theme"; + version = "2021-11-09"; + + src = fetchFromGitHub { + owner = "vinceliuice"; + repo = pname; + rev = version; + sha256 = "1ali128027yw5kllip7p32c92pby5gaqs0i393m3bp69547np1d4"; + }; + + nativeBuildInputs = [ gtk3 jdupes ]; + + propagatedBuildInputs = [ hicolor-icon-theme ]; + + dontDropIconThemeCache = true; + + # These fixup steps are slow and unnecessary for this package + dontPatchELF = true; + dontRewriteSymlinks = true; + + installPhase = '' + runHook preInstall + patchShebangs install.sh + ./install.sh -a -d $out/share/icons + # replace duplicate files with symlinks + jdupes -l -r $out/share/icons + runHook postInstall + ''; + + meta = with lib; { + description = "A Material Design icon theme based on Paper icon theme"; + homepage = "https://github.com/vinceliuice/vimix-icon-theme"; + license = with licenses; [ cc-by-sa-40 ]; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} |