ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / nessclient / default.nix
blob591d74a95a545deb0d7a4b25b889f68bd85355f7
1 { lib
2 , asynctest
3 , buildPythonPackage
4 , click
5 , fetchFromGitHub
6 , justbackoff
7 , pythonOlder
8 , pytest-asyncio
9 , pytestCheckHook
12 buildPythonPackage rec {
13   pname = "nessclient";
14   version = "0.10.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "nickw444";
21     repo = pname;
22     rev = "refs/tags/${version}";
23     sha256 = "sha256-zjUYdSHIMCB4cCAsOOQZ9YgmFTskzlTUs5z/xPFt01Q=";
24   };
26   propagatedBuildInputs = [
27     justbackoff
28     click
29   ];
31   checkInputs = [
32     asynctest
33     pytest-asyncio
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [
38     "nessclient"
39   ];
41   meta = with lib; {
42     description = "Python implementation/abstraction of the Ness D8x/D16x Serial Interface ASCII protocol";
43     homepage = "https://github.com/nickw444/nessclient";
44     license = with licenses; [ mit ];
45     maintainers = with maintainers; [ fab ];
46   };