Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
885 B · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, beautifulsoup4, enum-compat, pyserial, nose}:
buildPythonPackage rec { pname = "enocean"; version = "0.60.1"; format = "setuptools";
src = fetchFromGitHub { owner = "kipe"; repo = "enocean"; rev = version; sha256 = "0cbcvvy3qaqv8925z608qmkc1l914crzw79krwrz2vpm2fyribab"; };
propagatedBuildInputs = [ beautifulsoup4 enum-compat pyserial ];
nativeCheckInputs = [ nose ];
checkPhase = '' runHook preCheck
nosetests
runHook postCheck '';
pythonImportsCheck = [ "enocean.communicators" "enocean.protocol.packet" "enocean.utils" ];
meta = with lib; { description = "EnOcean serial protocol implementation"; homepage = "https://github.com/kipe/enocean"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };}