python3Packages.pyopenuv: init at 2.0.1
This commit is contained in:
parent
b1a729198c
commit
973260c8c4
50
pkgs/development/python-modules/pyopenuv/default.nix
Normal file
50
pkgs/development/python-modules/pyopenuv/default.nix
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, aresponses
|
||||||
|
, async-timeout
|
||||||
|
, asynctest
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, poetry-core
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-cov
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyopenuv";
|
||||||
|
version = "2.0.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bachya";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1pzdcy65gndrlyhrwyc1rwsh8n4w79wla8n9fr13m00vac3cqkl0";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ poetry-core ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ aiohttp ];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
aresponses
|
||||||
|
asynctest
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-aiohttp
|
||||||
|
pytest-cov
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
# Ignore the examples as they are prefixed with test_
|
||||||
|
pytestFlagsArray = [ "--ignore examples/" ];
|
||||||
|
pythonImportsCheck = [ "pyopenuv" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python API to retrieve data from openuv.io";
|
||||||
|
homepage = "https://github.com/bachya/pyopenuv";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -5719,6 +5719,8 @@ in {
|
|||||||
|
|
||||||
pyopenssl = callPackage ../development/python-modules/pyopenssl { };
|
pyopenssl = callPackage ../development/python-modules/pyopenssl { };
|
||||||
|
|
||||||
|
pyopenuv = callPackage ../development/python-modules/pyopenuv { };
|
||||||
|
|
||||||
pyopnsense = callPackage ../development/python-modules/pyopnsense { };
|
pyopnsense = callPackage ../development/python-modules/pyopnsense { };
|
||||||
|
|
||||||
pyosf = callPackage ../development/python-modules/pyosf { };
|
pyosf = callPackage ../development/python-modules/pyosf { };
|
||||||
|
Loading…
Reference in New Issue
Block a user