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`.
33 lines
810 B
Nix
33 lines
810 B
Nix
{ stdenv, fetchFromGitHub, pythonPackages, mopidy, gobjectIntrospection }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "mopidy-local-images";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mopidy";
|
|
repo = "mopidy-local-images";
|
|
rev = "v${version}";
|
|
sha256 = "0gdqxws0jish50mmi57mlqcs659wrllzv00czl18niz94vzvyc0d";
|
|
};
|
|
|
|
buildInputs = [ gobjectIntrospection ];
|
|
|
|
checkInputs = [
|
|
pythonPackages.mock
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
mopidy
|
|
pythonPackages.pykka
|
|
pythonPackages.uritools
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/mopidy/mopidy-local-images;
|
|
description = "Mopidy local library proxy extension for handling embedded album art";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.rvolosatovs ];
|
|
};
|
|
}
|