nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 817 B view raw
1{ 2 lib, 3 aiohttp, 4 async-timeout, 5 buildPythonPackage, 6 fetchFromGitHub, 7}: 8 9buildPythonPackage rec { 10 pname = "airthings-cloud"; 11 version = "0.2.0"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "Danielhiversen"; 16 repo = "pyAirthings"; 17 tag = version; 18 hash = "sha256-HdH/z5xsumOXU0ZYOUc8LHpjKGkfp5e5yGER+Nm8xB4="; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 async-timeout 24 ]; 25 26 # Project has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "airthings" ]; 30 31 meta = { 32 description = "Python module for Airthings"; 33 homepage = "https://github.com/Danielhiversen/pyAirthings"; 34 changelog = "https://github.com/Danielhiversen/pyAirthings/releases/tag/${version}"; 35 license = with lib.licenses; [ mit ]; 36 maintainers = with lib.maintainers; [ fab ]; 37 }; 38}