diff options
author | Rouven Seifert <rouven@rfive.de> | 2023-05-02 09:37:27 +0200 |
---|---|---|
committer | Rouven Seifert <rouven@rfive.de> | 2023-05-04 19:36:06 +0200 |
commit | 9647ad3dc835f6431eff30ce961595d989ea7771 (patch) | |
tree | d20ac57ebab38c0b22574a54692e6dbb97949367 /pkgs/data/icons | |
parent | 9c7c80faa8b3655def1060a3c3ea2279792e7b27 (diff) |
dracula-icon-theme: init at unstable-2021-07-21
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r-- | pkgs/data/icons/dracula-icon-theme/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/data/icons/dracula-icon-theme/default.nix b/pkgs/data/icons/dracula-icon-theme/default.nix new file mode 100644 index 0000000000000..d09037cad1148 --- /dev/null +++ b/pkgs/data/icons/dracula-icon-theme/default.nix @@ -0,0 +1,39 @@ +{ lib, stdenvNoCC, fetchFromGitHub, jdupes }: + +stdenvNoCC.mkDerivation { + pname = "dracula-icon-theme"; + version = "unstable-2021-07-21"; + + src = fetchFromGitHub { + owner = "m4thewz"; + repo = "dracula-icons"; + rev = "2d3c83caa8664e93d956cfa67a0f21418b5cdad8"; + hash = "sha256-GY+XxTM22jyNq8kaB81zNfHRhfXujArFcyzDa8kjxCQ="; + }; + + nativeBuildInputs = [ + jdupes + ]; + + dontDropIconThemeCache = true; + + dontPatchELF = true; + dontRewriteSymlinks = true; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/icons/Dracula + cp -a * $out/share/icons/Dracula/ + jdupes --quiet --link-soft --recurse $out/share + + runHook postInstall + ''; + + meta = with lib; { + description = "Dracula Icon theme"; + homepage = "https://github.com/m4thewz/dracula-icons"; + platforms = platforms.linux; + license = licenses.gpl3Only; + maintainers = with maintainers; [ therealr5 ]; + }; +} |