Unverified Commit f52d66e7 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #229365 from therealr5/dracula-icon-theme

parents d7bbeeda 9647ad3d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -15573,6 +15573,15 @@
    githubId = 57180880;
    name = "Ansh Tyagi";
  };
  therealr5 = {
    email = "rouven@rfive.de";
    github = "therealr5";
    githubId = 72568063;
    name = "Rouven Seifert";
    keys = [{
      fingerprint = "1169 87A8 DD3F 78FF 8601  BF4D B95E 8FE6 B11C 4D09";
    }];
  };
  therishidesai = {
    email = "desai.rishi1@gmail.com";
    github = "therishidesai";
+39 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -27916,6 +27916,8 @@ with pkgs;
  dotcolon-fonts = callPackage ../data/fonts/dotcolon-fonts { };
  dracula-icon-theme = callPackage ../data/icons/dracula-icon-theme { };
  e17gtk = callPackage ../data/themes/e17gtk { };
  eb-garamond = callPackage ../data/fonts/eb-garamond { };