mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +00:00
26 lines
739 B
Nix
26 lines
739 B
Nix
{
|
|
definition = lib: pkgs:
|
|
let
|
|
appName = "Spotify";
|
|
pname = "spotify";
|
|
version = "sha256-JESQZtyPE9o5PW/f5GdxbqbyeHCxs/oZEW0AakMJgKg=";
|
|
|
|
src = pkgs.fetchurl {
|
|
url = "https://download.scdn.co/Spotify.dmg";
|
|
hash = version;
|
|
name = "spotify-mac.dmg";
|
|
};
|
|
in
|
|
lib.mk-mac-binpkg {
|
|
inherit pkgs src pname appName version;
|
|
meta = with pkgs.lib; {
|
|
homepage = "https://www.spotify.com/";
|
|
description = "Play music from the Spotify music service";
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
license = licenses.unfree;
|
|
platforms = platforms.darwin;
|
|
};
|
|
};
|
|
|
|
systems = [ "aarch64-darwin" "x86_64-darwin" ];
|
|
}
|