mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
24 lines
644 B
Nix
24 lines
644 B
Nix
{ stdenv, fetchurl, pythonPackages, mopidy }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "mopidy-spotify";
|
|
version = "3.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mopidy/mopidy-spotify/archive/v${version}.tar.gz";
|
|
sha256 = "1mh87w4j0ypvsrnax7kkjgfxfpnw3l290jvfzg56b8qlwf20khjl";
|
|
};
|
|
|
|
propagatedBuildInputs = [ mopidy pythonPackages.pyspotify ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://www.mopidy.com/;
|
|
description = "Mopidy extension for playing music from Spotify";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.rickynils ];
|
|
hydraPlatforms = [];
|
|
};
|
|
}
|