mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 13:48:21 +03:00
kanagawa-icon-theme: init at unstable-2023-07-03
This commit is contained in:
parent
0593d3b997
commit
e1cd8953ba
@ -6,7 +6,7 @@
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "kanagawa-gtk-theme";
|
||||
version = "unstable-2023-07-03";
|
||||
version = "0-unstable-2023-07-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
@ -37,6 +37,6 @@ stdenvNoCC.mkDerivation {
|
||||
homepage = "https://github.com/Fausto-Korpsvart/Kanagawa-GKT-Theme";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ iynaix ];
|
||||
platforms = platforms.all;
|
||||
platforms = gtk3.meta.platforms;
|
||||
};
|
||||
}
|
||||
|
47
pkgs/by-name/ka/kanagawa-icon-theme/package.nix
Normal file
47
pkgs/by-name/ka/kanagawa-icon-theme/package.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, gtk3
|
||||
, hicolor-icon-theme
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "kanagawa-icon-theme";
|
||||
version = "0-unstable-2023-07-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Kanagawa-GKT-Theme";
|
||||
rev = "35936a1e3bbd329339991b29725fc1f67f192c1e";
|
||||
hash = "sha256-BZRmjVas8q6zsYbXFk4bCk5Ec/3liy9PQ8fqFGHAXe0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gtk3
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/icons
|
||||
cp -a icons/* $out/share/icons
|
||||
for theme in $out/share/icons/*; do
|
||||
gtk-update-icon-cache -f $theme
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An icon theme for the Kanagawa colour palette";
|
||||
homepage = "https://github.com/Fausto-Korpsvart/Kanagawa-GKT-Theme";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ iynaix ];
|
||||
platforms = gtk3.meta.platforms;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user