mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
43 lines
904 B
Nix
43 lines
904 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
, gtk3
|
|
, gtk-engine-murrine
|
|
}:
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "kanagawa-gtk-theme";
|
|
version = "0-unstable-2023-07-03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Fausto-Korpsvart";
|
|
repo = "Kanagawa-GKT-Theme";
|
|
rev = "35936a1e3bbd329339991b29725fc1f67f192c1e";
|
|
hash = "sha256-BZRmjVas8q6zsYbXFk4bCk5Ec/3liy9PQ8fqFGHAXe0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gtk3
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [
|
|
gtk-engine-murrine
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/themes
|
|
cp -a themes/* $out/share/themes
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "GTK theme with the Kanagawa colour palette";
|
|
homepage = "https://github.com/Fausto-Korpsvart/Kanagawa-GKT-Theme";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ iynaix ];
|
|
platforms = gtk3.meta.platforms;
|
|
};
|
|
}
|