mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
7565d00a7c
Mopidy-Local is the successor to Mopidy-Local-SQLite and Mopidy-Local-Images, which are already packaged. I had to make gobject-introspection a propagated build input, otherwise Mopidy-Local can't import Mopidy.
31 lines
650 B
Nix
31 lines
650 B
Nix
{ lib
|
|
, mopidy
|
|
, python3Packages
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "Mopidy-Local";
|
|
version = "3.1.1";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "13m0iz14lyplnpm96gfpisqvv4n89ls30kmkg21z7v238lm0h19j";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
mopidy
|
|
python3Packages.uritools
|
|
];
|
|
|
|
checkInputs = [
|
|
python3Packages.pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mopidy/mopidy-local";
|
|
description = "Mopidy extension for playing music from your local music archive";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ruuda ];
|
|
};
|
|
}
|