mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
Merge pull request #279665 from fabaff/epion
python311Packages.epion: init at 0.0.1
This commit is contained in:
commit
67d082f2ed
49
pkgs/development/python-modules/epion/default.nix
Normal file
49
pkgs/development/python-modules/epion/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user