Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 789 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "pynobo"; 9 version = "1.6.1"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "echoromeo"; 16 repo = pname; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-T86d3HGu6hsc54+ocCbINsInH/qHL9+HhOXDQ0I8QGA="; 19 }; 20 21 # Project has no tests 22 doCheck = false; 23 24 pythonImportsCheck = [ 25 "pynobo" 26 ]; 27 28 meta = with lib; { 29 description = "Python TCP/IP interface for Nobo Hub/Nobo Energy Control devices"; 30 homepage = "https://github.com/echoromeo/pynobo"; 31 changelog = "https://github.com/echoromeo/pynobo/releases/tag/v${version}"; 32 license = with licenses; [ gpl3Plus ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}