14 buildPythonPackage rec {
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-STDEIY7D02MlH+R6uLAKl6ghSQjhG1OEQWj71DrZP30=";
29 substituteInPlace setup.py \
30 --replace-fail "version = '0.0.0-dev'" "version = '${version}'"
33 build-system = [ setuptools ];
40 optional-dependencies = {
49 pythonImportsCheck = [ "nessclient" ];
52 description = "Python implementation/abstraction of the Ness D8x/D16x Serial Interface ASCII protocol";
53 homepage = "https://github.com/nickw444/nessclient";
54 changelog = "https://github.com/nickw444/nessclient/releases/tag/${version}";
55 license = licenses.mit;
56 maintainers = with maintainers; [ fab ];
57 mainProgram = "ness-cli";