depot/pkgs/data/icons/dracula-icon-theme/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

39 lines
922 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 = with lib; {
description = "Dracula Icon theme";
homepage = "https://github.com/m4thewz/dracula-icons";
platforms = platforms.linux;
license = licenses.gpl3Only;
maintainers = with maintainers; [ therealr5 ];
};
}