depot/third_party/nixpkgs/pkgs/development/python-modules/python-juicenet/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
777 B
Nix

{
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 ];
};
}