Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5}: 6 7buildPythonPackage rec { 8 pname = "pydanfossair"; 9 version = "0.2.0"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "JonasPed"; 14 repo = "pydanfoss-air"; 15 rev = "v${version}"; 16 hash = "sha256-WTRiEQbd3wwNAz1gk0rS3khy6lg61rcGZQTMlBc0uO8="; 17 }; 18 19 # Project has no tests 20 doCheck = false; 21 pythonImportsCheck = [ "pydanfossair" ]; 22 23 meta = with lib; { 24 description = "Python interface for Danfoss Air HRV systems"; 25 homepage = "https://github.com/JonasPed/pydanfoss-air"; 26 license = with licenses; [ asl20 ]; 27 maintainers = with maintainers; [ fab ]; 28 }; 29}