Merge pull request #279665 from fabaff/epion

python311Packages.epion: init at 0.0.1
This commit is contained in:
Fabian Affolter 2024-01-09 09:23:05 +01:00 committed by GitHub
commit 67d082f2ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, docopt
, fetchFromGitHub
, pythonOlder
, pytz
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "epion";
version = "0.0.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "devenzo-com";
repo = "epion_python";
# https://github.com/devenzo-com/epion_python/issues/1
rev = "d8759951fc7bfd1507abe725b2bc98754cbbf505";
hash = "sha256-uC227rlu4NB5lpca02QLi2JZ5SKklLfv7rXvvJA1aCA=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
docopt
pytz
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"epion"
];
meta = with lib; {
description = "Module to access Epion sensor data";
homepage = "https://github.com/devenzo-com/epion_python";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3678,6 +3678,8 @@ self: super: with self; {
ephemeral-port-reserve = callPackage ../development/python-modules/ephemeral-port-reserve { };
epion = callPackage ../development/python-modules/epion { };
epson-projector = callPackage ../development/python-modules/epson-projector { };
equinox = callPackage ../development/python-modules/equinox { };