mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
python39Packages.pyspotify: cleanup
This commit is contained in:
parent
ee62f3ea0a
commit
c1a746083b
@ -3,7 +3,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cffi
|
||||
, pkgs
|
||||
, libspotify
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
buildInputs = [ pkgs.libspotify ];
|
||||
buildInputs = [ libspotify ];
|
||||
|
||||
# python zip complains about old timestamps
|
||||
preConfigure = ''
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
find "$out" -name _spotify.so -exec \
|
||||
install_name_tool -change \
|
||||
@loader_path/../Frameworks/libspotify.framework/libspotify \
|
||||
${pkgs.libspotify}/lib/libspotify.dylib \
|
||||
${libspotify}/lib/libspotify.dylib \
|
||||
{} \;
|
||||
'';
|
||||
|
||||
@ -41,7 +41,5 @@ buildPythonPackage rec {
|
||||
description = "A Python interface to Spotify’s online music streaming service";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user