Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 41 lines 817 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 pythonPackages, 5 mopidy, 6}: 7 8pythonPackages.buildPythonApplication rec { 9 pname = "mopidy-subidy"; 10 version = "1.0.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "Prior99"; 15 repo = "mopidy-subidy"; 16 tag = version; 17 sha256 = "0c5ghhhrj5v3yp4zmll9ari6r5c6ha8c1izwqshvadn40b02q7xz"; 18 }; 19 20 build-system = [ 21 pythonPackages.setuptools 22 ]; 23 24 dependencies = [ 25 mopidy 26 pythonPackages.py-sonic 27 ]; 28 29 nativeCheckInputs = [ 30 pythonPackages.pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ "mopidy_subidy" ]; 34 35 meta = with lib; { 36 homepage = "https://www.mopidy.com/"; 37 description = "Mopidy extension for playing music from a Subsonic-compatible Music Server"; 38 license = licenses.bsd3; 39 maintainers = with maintainers; [ wenngle ]; 40 }; 41}