Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 40 lines 783 B view raw
1{ 2 lib, 3 mopidy, 4 pythonPackages, 5 fetchPypi, 6}: 7 8pythonPackages.buildPythonApplication rec { 9 pname = "mopidy-local"; 10 version = "3.3.0"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "mopidy_local"; 16 hash = "sha256-y6btbGk5UiVan178x7d9jq5OTnKMbuliHv0aRxuZK3o="; 17 }; 18 19 build-system = [ 20 pythonPackages.setuptools 21 ]; 22 23 dependencies = [ 24 mopidy 25 pythonPackages.uritools 26 ]; 27 28 nativeCheckInputs = [ 29 pythonPackages.pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ "mopidy_local" ]; 33 34 meta = with lib; { 35 homepage = "https://github.com/mopidy/mopidy-local"; 36 description = "Mopidy extension for playing music from your local music archive"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ ruuda ]; 39 }; 40}