mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
marwaita-icons: init at 5.0
This commit is contained in:
parent
41eba2dd4f
commit
92f9735864
53
pkgs/by-name/ma/marwaita-icons/package.nix
Normal file
53
pkgs/by-name/ma/marwaita-icons/package.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, gtk3
|
||||
, breeze-icons
|
||||
, hicolor-icon-theme
|
||||
, pantheon
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "marwaita-icons";
|
||||
version = "5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "darkomarko42";
|
||||
repo = "marwaita-icons";
|
||||
rev = version;
|
||||
hash = "sha256-6NFCXj80VAoFX+i4By5IpbtJC4qL+sAzlLHUJjTQ/sI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gtk3
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
breeze-icons
|
||||
hicolor-icon-theme
|
||||
pantheon.elementary-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/icons
|
||||
cp -a Marwaita* $out/share/icons
|
||||
|
||||
for theme in $out/share/icons/*; do
|
||||
gtk-update-icon-cache "$theme"
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Icon pack for linux";
|
||||
homepage = "https://github.com/darkomarko42/Marwaita-Icons";
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
@ -28637,6 +28637,10 @@ with pkgs;
|
||||
|
||||
marwaita = callPackage ../data/themes/marwaita { };
|
||||
|
||||
marwaita-icons = callPackage ../by-name/ma/marwaita-icons/package.nix {
|
||||
inherit (kdePackages) breeze-icons;
|
||||
};
|
||||
|
||||
marwaita-manjaro = callPackage ../data/themes/marwaita-manjaro { };
|
||||
|
||||
marwaita-peppermint = callPackage ../data/themes/marwaita-peppermint { };
|
||||
|
Loading…
Reference in New Issue
Block a user