atau-nixpkgs/gtk-theme-mac-os-9/default.nix

30 lines
676 B
Nix

{ lib, stdenv }:
stdenv.mkDerivation rec {
name = "gtk-theme-mac-os-9";
pname = name;
version = "ca8a5d2a3fb1976cf904133574a3d0022ac2cf71";
src = fetchGit {
url = "https://github.com/B00merang-Project/Mac-OS-9.git";
rev = version;
};
installPhase = ''
runHook preInstall
# Install themes
mkdir -p "$out/share/themes/Mac-OS-9"
mv * "$out/share/themes/Mac-OS-9"
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/B00merang-Project/Mac-OS-9";
description = "The classic look of Mac OS 9, now for GTK 3 desktops";
platforms = platforms.unix;
maintainers = with maintainers; [ atau ];
};
}