Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pynx584 / default.nix
blob405f66a7465c61c6def9d9d55ad9cb8881402c7e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flask
5 , mock
6 , prettytable
7 , pyserial
8 , pytestCheckHook
9 , pythonOlder
10 , requests
11 , stevedore
14 buildPythonPackage rec {
15   pname = "pynx584";
16   version = "0.8.1";
17   format = "setuptools";
18   disabled = pythonOlder "3.6";
21   src = fetchFromGitHub {
22     owner = "kk7ds";
23     repo = pname;
24     rev = version;
25     hash = "sha256-nF8+LbKqy/GrnPpykS5wEQMPoFYxi40pfM3Ys/UXCeo=";
26   };
28   propagatedBuildInputs = [
29     flask
30     prettytable
31     pyserial
32     requests
33     stevedore
34   ];
36   nativeCheckInputs = [
37     mock
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [ "nx584" ];
43   meta = with lib; {
44     description = "Python package for communicating to NX584/NX8E interfaces";
45     homepage = "https://github.com/kk7ds/pynx584";
46     license = with licenses; [ gpl3Only ];
47     maintainers = with maintainers; [ fab ];
48   };