mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 03:48:57 +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`.
26 lines
641 B
Nix
26 lines
641 B
Nix
{ stdenv, fetchFromGitHub, pythonPackages, mopidy }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "mopidy-local-sqlite";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mopidy";
|
|
repo = "mopidy-local-sqlite";
|
|
rev = "v${version}";
|
|
sha256 = "1fjd9ydbfwd1n9b9zw8zjn4l7c5hpam2n0xs51pjkjn82m3zq9zv";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
mopidy
|
|
pythonPackages.uritools
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/mopidy/mopidy-local-sqlite;
|
|
description = "Mopidy SQLite local library extension";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.rvolosatovs ];
|
|
};
|
|
}
|