Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 33 lines 727 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6}: 7 8buildPythonPackage rec { 9 pname = "python-juicenet"; 10 version = "1.1.0"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "jesserockz"; 15 repo = "python-juicenet"; 16 rev = "v${version}"; 17 hash = "sha256-5RKnVwOfEHzFZCiC8OUpS8exKrENK+I3Ok45HlKEvtU="; 18 }; 19 20 propagatedBuildInputs = [ aiohttp ]; 21 22 # no tests implemented 23 doCheck = false; 24 25 pythonImportsCheck = [ "pyjuicenet" ]; 26 27 meta = { 28 description = "Read and control Juicenet/Juicepoint/Juicebox based EVSE devices"; 29 homepage = "https://github.com/jesserockz/python-juicenet"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ dotlambda ]; 32 }; 33}