mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
python3Packages.enocean: init at 0.60.1
This commit is contained in:
parent
410496d0f3
commit
215c16d88e
2 changed files with 53 additions and 0 deletions
51
pkgs/development/python-modules/enocean/default.nix
Normal file
51
pkgs/development/python-modules/enocean/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, beautifulsoup4
|
||||
, enum-compat
|
||||
, pyserial
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "enocean";
|
||||
version = "0.60.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kipe";
|
||||
repo = "enocean";
|
||||
rev = version;
|
||||
sha256 = "0cbcvvy3qaqv8925z608qmkc1l914crzw79krwrz2vpm2fyribab";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
enum-compat
|
||||
pyserial
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -2269,6 +2269,8 @@ in {
|
|||
|
||||
enamlx = callPackage ../development/python-modules/enamlx { };
|
||||
|
||||
enocean = callPackage ../development/python-modules/enocean { };
|
||||
|
||||
enrich = callPackage ../development/python-modules/enrich { };
|
||||
|
||||
entrance = callPackage ../development/python-modules/entrance {
|
||||
|
|
Loading…
Reference in a new issue