9 stdenv.mkDerivation (final: {
10 pname = "dark-mode-notify";
11 version = "unstable-2022-07-18";
13 src = fetchFromGitHub {
15 repo = "dark-mode-notify";
16 rev = "4d7fe211f81c5b67402fad4bed44995344a260d1";
17 hash = "sha256-LsAQ5v5jgJw7KsJnQ3Mh6+LNj1EMHICMoD5WzF3hRmU=";
25 buildInputs = with darwin.apple_sdk.frameworks; [
30 makeFlags = [ "prefix=$(out)" ];
33 description = "Run a script whenever dark mode changes in macOS";
34 homepage = "https://github.com/bouk/dark-mode-notify";
35 # Doesn't build on x86_64 because of some CoreGraphics issue, even with SDK 11.0
36 platforms = [ "aarch64-darwin" ];
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ YorikSar ];
39 mainProgram = "dark-mode-notify";