Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / python-juicenet / default.nix
blobad27a913257e4eda5d53d8952a07d7107a25c105
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "python-juicenet";
10   version = "1.1.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "jesserockz";
17     repo = "python-juicenet";
18     rev = "v${version}";
19     hash = "sha256-5RKnVwOfEHzFZCiC8OUpS8exKrENK+I3Ok45HlKEvtU=";
20   };
22   propagatedBuildInputs = [
23     aiohttp
24   ];
26   # no tests implemented
27   doCheck = false;
29   pythonImportsCheck = [
30     "pyjuicenet"
31   ];
33   meta = with lib; {
34     description = "Read and control Juicenet/Juicepoint/Juicebox based EVSE devices";
35     homepage = "https://github.com/jesserockz/python-juicenet";
36     license = licenses.mit;
37     maintainers = with maintainers; [ dotlambda ];
38   };