Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
927 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitLab, pyserial, pytestCheckHook, setuptools, six,}:
buildPythonPackage rec { pname = "aurorapy"; version = "0.2.7"; pyproject = true;
src = fetchFromGitLab { owner = "energievalsabbia"; repo = "aurorapy"; rev = version; hash = "sha256-rGwfGq3zdoG9NCGqVN29Q4bWApk5B6CRdsW9ctWgOec="; };
postPatch = '' sed -i "/from past.builtins import map/d" aurorapy/client.py '';
build-system = [ setuptools ];
pythonRemoveDeps = [ "future" ];
dependencies = [ pyserial ];
nativeCheckInputs = [ pytestCheckHook six ];
pythonImportsCheck = [ "aurorapy" ];
meta = with lib; { description = "Implementation of the communication protocol for Power-One Aurora inverters"; homepage = "https://gitlab.com/energievalsabbia/aurorapy"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}