depot/third_party/nixpkgs/pkgs/by-name/ni/nightfox-gtk-theme/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

43 lines
947 B
Nix

{ lib
, stdenvNoCC
, fetchFromGitHub
, gnome-themes-extra
, gtk-engine-murrine
}:
stdenvNoCC.mkDerivation {
pname = "nightfox-gtk-theme";
version = "unstable-2023-05-28";
src = fetchFromGitHub {
owner = "Fausto-Korpsvart";
repo = "Nightfox-GTK-Theme";
rev = "a8b01a28f2d1d9dd57d98d3708602b0d72340338";
hash = "sha256-GrlKYCqO9vgRbPdPhugPBg2rYtDxzbQwRPtTBIyIyx4=";
};
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
buildInputs = [
gnome-themes-extra
];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes
cp -a themes/* $out/share/themes
runHook postInstall
'';
meta = with lib; {
description = "GTK theme based on the Nightfox colour palette";
homepage = "https://github.com/Fausto-Korpsvart/Nightfox-GTK-Theme";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ d3vil0p3r ];
platforms = platforms.unix;
};
}