butt: set meta.platforms
[NixPkgs.git] / pkgs / by-name / ka / kanagawa-gtk-theme / package.nix
blobbf714e0f301f8694b3fabe50d7a017cc69a9b208
1 { lib
2 , stdenvNoCC
3 , fetchFromGitHub
4 , gtk3
5 , gtk-engine-murrine
6 }:
7 stdenvNoCC.mkDerivation {
8   pname = "kanagawa-gtk-theme";
9   version = "0-unstable-2023-07-03";
11   src = fetchFromGitHub {
12     owner = "Fausto-Korpsvart";
13     repo = "Kanagawa-GKT-Theme";
14     rev = "35936a1e3bbd329339991b29725fc1f67f192c1e";
15     hash = "sha256-BZRmjVas8q6zsYbXFk4bCk5Ec/3liy9PQ8fqFGHAXe0=";
16   };
18   nativeBuildInputs = [
19     gtk3
20   ];
22   propagatedUserEnvPkgs = [
23     gtk-engine-murrine
24   ];
26   installPhase = ''
27     runHook preInstall
29     mkdir -p $out/share/themes
30     cp -a themes/* $out/share/themes
32     runHook postInstall
33   '';
35   meta = with lib; {
36     description = "A GTK theme with the Kanagawa colour palette";
37     homepage = "https://github.com/Fausto-Korpsvart/Kanagawa-GKT-Theme";
38     license = licenses.gpl3Only;
39     maintainers = with maintainers; [ iynaix ];
40     platforms = gtk3.meta.platforms;
41   };