Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 774 B view raw
1{ 2 lib, 3 pythonPackages, 4 fetchPypi, 5 mopidy, 6}: 7 8pythonPackages.buildPythonApplication rec { 9 pname = "mopidy-scrobbler"; 10 version = "2.0.1"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "Mopidy-Scrobbler"; 16 sha256 = "11vxgax4xgkggnq4fr1rh2rcvzspkkimck5p3h4phdj3qpnj0680"; 17 }; 18 19 build-system = [ 20 pythonPackages.setuptools 21 ]; 22 23 dependencies = [ 24 mopidy 25 pythonPackages.pylast 26 ]; 27 28 # no tests implemented 29 doCheck = false; 30 pythonImportsCheck = [ "mopidy_scrobbler" ]; 31 32 meta = with lib; { 33 homepage = "https://github.com/mopidy/mopidy-scrobbler"; 34 description = "Mopidy extension for scrobbling played tracks to Last.fm"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ jakeisnt ]; 37 }; 38}