nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 39 lines 761 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, bluepy 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "cometblue-lite"; 10 version = "0.4.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; 14 15 src = fetchFromGitHub { 16 owner = "neffs"; 17 repo = "python-cometblue_lite"; 18 rev = version; 19 sha256 = "sha256-kK6P8almFQac/bt7we02Q96RIB/s9wAqb+dn09tFx7k="; 20 }; 21 22 propagatedBuildInputs = [ 23 bluepy 24 ]; 25 26 # Module has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "cometblue_lite" 31 ]; 32 33 meta = with lib; { 34 description = "Python module for Eurotronic Comet Blue thermostats"; 35 homepage = "https://github.com/neffs/python-cometblue_lite"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}