mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +00:00
23 lines
597 B
Nix
23 lines
597 B
Nix
{ fetchurl, lib, mkMacBinPackage }:
|
|
let
|
|
appName = "Spotify";
|
|
pname = "spotify";
|
|
version = "sha256-JESQZtyPE9o5PW/f5GdxbqbyeHCxs/oZEW0AakMJgKg=";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.scdn.co/Spotify.dmg";
|
|
hash = version;
|
|
name = "spotify-mac.dmg";
|
|
};
|
|
in
|
|
mkMacBinPackage {
|
|
inherit src pname appName version;
|
|
meta = with lib; {
|
|
homepage = "https://www.spotify.com/";
|
|
description = "Play music from the Spotify music service";
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
license = licenses.unfree;
|
|
platforms = platforms.darwin;
|
|
};
|
|
}
|
|
|