mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
added dracula icon theme
This commit is contained in:
parent
c3cd928bc0
commit
068b7e2260
3 changed files with 39 additions and 4 deletions
31
pkgs/dracula-icon-theme/default.nix
Normal file
31
pkgs/dracula-icon-theme/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine }:
|
||||
|
||||
let
|
||||
themeName = "Dracula";
|
||||
version = "1.0";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "dracula-icon-theme";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "m4thewz";
|
||||
repo = "dracula-icons";
|
||||
rev = "main";
|
||||
sha256 = "GY+XxTM22jyNq8kaB81zNfHRhfXujArFcyzDa8kjxCQ=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/icons/${themeName}
|
||||
cp -a * $out/share/icons/${themeName}/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dracula Icon theme";
|
||||
homepage = "https://github.com/m4thewz/dracula-icons";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ therealr5 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue