Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 50 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 mashumaro, 6 orjson, 7 poetry-core, 8 pythonOlder, 9 websockets, 10 yarl, 11}: 12 13buildPythonPackage rec { 14 pname = "aiostreammagic"; 15 version = "2.8.5"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.11"; 19 20 src = fetchFromGitHub { 21 owner = "noahhusby"; 22 repo = "aiostreammagic"; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-1/9cpdKRr7O4Ji34OSkbBudSedTAt50oGZBc88XNI18="; 25 }; 26 27 pythonRelaxDeps = [ "websockets" ]; 28 29 build-system = [ poetry-core ]; 30 31 dependencies = [ 32 mashumaro 33 orjson 34 websockets 35 yarl 36 ]; 37 38 # Module has no tests 39 doCheck = false; 40 41 pythonImportsCheck = [ "aiostreammagic" ]; 42 43 meta = { 44 description = "Module for interfacing with Cambridge Audio/Stream Magic compatible streamers"; 45 homepage = "https://github.com/noahhusby/aiostreammagic"; 46 changelog = "https://github.com/noahhusby/aiostreammagic/releases/tag/${version}"; 47 license = lib.licenses.mit; 48 maintainers = with lib.maintainers; [ fab ]; 49 }; 50}