7 stdenv.mkDerivation (finalAttrs: {
8 pname = "nowplaying-cli";
11 src = fetchFromGitHub {
12 owner = "kirtan-shah";
13 repo = "nowplaying-cli";
14 rev = "v${finalAttrs.version}";
15 hash = "sha256-FkyrtgsGzpK2rLNr+oxfPUbX43TVXYeiBg7CN1JUg8Y=";
19 darwin.apple_sdk.frameworks.Foundation
20 darwin.apple_sdk.frameworks.AppKit
21 darwin.apple_sdk.frameworks.Cocoa
27 install -D nowplaying-cli $out/bin/nowplaying-cli
33 description = "macOS command-line utility for retrieving currently playing media";
34 homepage = "https://github.com/kirtan-shah/nowplaying-cli";
35 license = licenses.gpl3Only;
36 maintainers = with maintainers; [ emilytrau ];
37 platforms = platforms.darwin;
38 mainProgram = "nowplaying-cli";