diff options
author | figsoda <figsoda@pm.me> | 2021-04-27 09:29:58 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-04-27 09:29:58 -0400 |
commit | 1975e5a3262e09c7431864406e7b4905ff7be60f (patch) | |
tree | 2c61b70be54fb00da46c3895f155bfdc6d142c12 /pkgs/data | |
parent | 93184413f2180ce79d53df91df4d43c2e8f931aa (diff) |
tela-icon-theme: init at 2021-01-21
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/icons/tela-icon-theme/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/data/icons/tela-icon-theme/default.nix b/pkgs/data/icons/tela-icon-theme/default.nix new file mode 100644 index 0000000000000..7bbad94520619 --- /dev/null +++ b/pkgs/data/icons/tela-icon-theme/default.nix @@ -0,0 +1,36 @@ +{ fetchFromGitHub, gtk3, hicolor-icon-theme, jdupes, lib, stdenv }: + +stdenv.mkDerivation rec { + pname = "tela-icon-theme"; + version = "2021-01-21"; + + src = fetchFromGitHub { + owner = "vinceliuice"; + repo = pname; + rev = version; + sha256 = "0gphy4aq2qjcg79k6rc0q5901mn3q76qhckn5vxvmypn9n3lb9ph"; + }; + + nativeBuildInputs = [ gtk3 jdupes ]; + + propagatedBuildInputs = [ hicolor-icon-theme ]; + + dontDropIconThemeCache = true; + + installPhase = '' + runHook preInstall + patchShebangs install.sh + mkdir -p $out/share/icons + ./install.sh -a -d $out/share/icons + jdupes -l -r $out/share/icons + runHook postInstall + ''; + + meta = with lib; { + description = "A flat colorful Design icon theme"; + homepage = "https://github.com/vinceliuice/tela-icon-theme"; + license = licenses.gpl3Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ figsoda ]; + }; +} |