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