nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 783 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pyecowitt"; 11 version = "0.21"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "garbled1"; 16 repo = "pyecowitt"; 17 tag = version; 18 hash = "sha256-5VdVo6j2HZXSCWU4NvfWzyS/KJfVb7N1KSMeu8TvWaQ="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ aiohttp ]; 24 25 # Project thas no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "pyecowitt" ]; 29 30 meta = { 31 description = "Python module for the EcoWitt Protocol"; 32 homepage = "https://github.com/garbled1/pyecowitt"; 33 changelog = "https://github.com/garbled1/pyecowitt/releases/tag/${version}"; 34 license = lib.licenses.asl20; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}