mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
python3Packages.pyefergy: init at 0.1.0
This commit is contained in:
parent
d96e16638f
commit
ac53325cfb
42
pkgs/development/python-modules/pyefergy/default.nix
Normal file
42
pkgs/development/python-modules/pyefergy/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, iso4217
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pytz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyefergy";
|
||||
version = "0.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tkdrob";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0nm7dc5q4wvdpqxpirlc4nwm68lf3n2df6j5yy4m8wr294yb7a1k";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
iso4217
|
||||
pytz
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pyefergy" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API library for Efergy energy meters";
|
||||
homepage = "https://github.com/tkdrob/pyefergy";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -6180,6 +6180,8 @@ in {
|
||||
|
||||
pyee = callPackage ../development/python-modules/pyee { };
|
||||
|
||||
pyefergy = callPackage ../development/python-modules/pyefergy { };
|
||||
|
||||
pyeight = callPackage ../development/python-modules/pyeight { };
|
||||
|
||||
pyelftools = callPackage ../development/python-modules/pyelftools { };
|
||||
|
Loading…
Reference in New Issue
Block a user