2023-04-29 16:46:19 +00:00
|
|
|
{ lib, stdenv, callPackage }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
2022-11-04 12:27:35 +00:00
|
|
|
pname = "spotify";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.spotify.com/";
|
|
|
|
description = "Play music from the Spotify music service";
|
2022-06-26 10:26:21 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.unfree;
|
2023-04-29 16:46:19 +00:00
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
in if stdenv.isDarwin
|
|
|
|
then callPackage ./darwin.nix { inherit pname meta; }
|
|
|
|
else callPackage ./linux.nix { inherit pname meta; }
|