nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 775 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "pynobo"; 10 version = "1.8.1"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "echoromeo"; 15 repo = "pynobo"; 16 tag = "v${version}"; 17 hash = "sha256-OSgpT9CLkfnv1BLAJApZUs3vMc1WE2eG7ZrinCLy/0U="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 # Project has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "pynobo" ]; 26 27 meta = { 28 description = "Python TCP/IP interface for Nobo Hub/Nobo Energy Control devices"; 29 homepage = "https://github.com/echoromeo/pynobo"; 30 changelog = "https://github.com/echoromeo/pynobo/releases/tag/v${version}"; 31 license = with lib.licenses; [ gpl3Plus ]; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}