mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00: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`.
29 lines
721 B
Nix
29 lines
721 B
Nix
{ stdenv, fetchurl, pythonPackages, mopidy }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "mopidy-gmusic";
|
|
version = "2.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mopidy/mopidy-gmusic/archive/v${version}.tar.gz";
|
|
sha256 = "1xryw2aixfza3brxlgjdlg0lghlb17g7kay9zy56mlzp0jr7m87j";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
mopidy
|
|
pythonPackages.requests
|
|
pythonPackages.gmusicapi
|
|
pythonPackages.cachetools_1
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://www.mopidy.com/;
|
|
description = "Mopidy extension for playing music from Google Play Music";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.jgillich ];
|
|
hydraPlatforms = [];
|
|
};
|
|
}
|