nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 842 B view raw
1{ 2 lib, 3 aiohttp, 4 async-upnp-client, 5 buildPythonPackage, 6 fetchFromGitHub, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "devialet"; 12 version = "1.5.7"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "fwestenberg"; 17 repo = "devialet"; 18 tag = "v${version}"; 19 hash = "sha256-HmTiHa7DEmjARaYn7/OoGotnTirE7S7zXLK/TfHdEAg="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 aiohttp 26 async-upnp-client 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "devialet" ]; 33 34 meta = { 35 description = "Library to interact with the Devialet API"; 36 homepage = "https://github.com/fwestenberg/devialet"; 37 changelog = "https://github.com/fwestenberg/devialet/releases/tag/${src.tag}"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41}