nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 725 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pytz, 8}: 9 10buildPythonPackage rec { 11 pname = "pyclimacell"; 12 version = "0.18.2"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "raman325"; 17 repo = "pyclimacell"; 18 rev = "v${version}"; 19 hash = "sha256-jWHjnebg4Aar48gid7bB7XYXOQtSqbmVmASsZd0YoPc="; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 pytz 25 ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 pythonImportsCheck = [ "pyclimacell" ]; 30 31 meta = { 32 description = "Python client for ClimaCell API"; 33 homepage = "https://github.com/raman325/pyclimacell"; 34 license = with lib.licenses; [ mit ]; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}