My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/python-juicenet/default.nix

39 lines
782 B

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "python-juicenet";
version = "1.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jesserockz";
repo = "python-juicenet";
rev = "v${version}";
hash = "sha256-5RKnVwOfEHzFZCiC8OUpS8exKrENK+I3Ok45HlKEvtU=";
};
propagatedBuildInputs = [
aiohttp
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [
"pyjuicenet"
];
meta = with lib; {
description = "Read and control Juicenet/Juicepoint/Juicebox based EVSE devices";
homepage = "https://github.com/jesserockz/python-juicenet";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}