python3Packages.greeneye-monitor: init at 3.0.3
This commit is contained in:
parent
876f70ea41
commit
718a35f65a
42
pkgs/development/python-modules/greeneye-monitor/default.nix
Normal file
42
pkgs/development/python-modules/greeneye-monitor/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, siobrultech-protocols
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "greeneye-monitor";
|
||||
version = "3.0.3";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jkeljo";
|
||||
repo = "greeneye-monitor";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-weZTOVFBlB6TxFs8pLWfyB7WD/bn3ljBjX2tVi1Zc/I=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
siobrultech-protocols
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "greeneye.monitor" ];
|
||||
|
||||
meta = {
|
||||
description = "Receive data packets from GreenEye Monitor";
|
||||
homepage = "https://github.com/jkeljo/greeneye-monitor";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -3700,6 +3700,8 @@ in {
|
||||
|
||||
green = callPackage ../development/python-modules/green { };
|
||||
|
||||
greeneye-monitor = callPackage ../development/python-modules/greeneye-monitor { };
|
||||
|
||||
greenlet = callPackage ../development/python-modules/greenlet { };
|
||||
|
||||
grequests = callPackage ../development/python-modules/grequests { };
|
||||
|
Loading…
Reference in New Issue
Block a user