mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +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`.
24 lines
588 B
Nix
24 lines
588 B
Nix
{ stdenv, fetchFromGitHub, pythonPackages, mopidy }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "mopidy-musicbox-webclient";
|
|
version = "2.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pimusicbox";
|
|
repo = "mopidy-musicbox-webclient";
|
|
rev = "v${version}";
|
|
sha256 = "1jcfrwsi7axiph3jplqzmcqia9pc46xb2yf13d8h6lnh3h49rwvz";
|
|
};
|
|
|
|
propagatedBuildInputs = [ mopidy ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Mopidy extension for playing music from SoundCloud";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.spwhitt ];
|
|
};
|
|
}
|