Files
nixpkgs/pkgs/by-name/dr/dracula-icon-theme/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

45 lines
933 B
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
jdupes,
}:
stdenvNoCC.mkDerivation {
pname = "dracula-icon-theme";
version = "0-unstable-2024-05-26";
src = fetchFromGitHub {
owner = "m4thewz";
repo = "dracula-icons";
rev = "6232e5217429a3ae6396c9e054f5338cecdbb7a5";
hash = "sha256-u2cIUTLWYs8VIqg6ZAUyz0nmzuFAZC4oh7bE67+B1Vg=";
};
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 = {
description = "Dracula Icon theme";
homepage = "https://github.com/m4thewz/dracula-icons";
platforms = lib.platforms.linux;
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ therealr5 ];
};
}