python3Packages.returns: init at 0.19.0
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
{ lib
|
||||
, anyio
|
||||
, curio
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, httpx
|
||||
, hypothesis
|
||||
, mypy
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pytest-aio
|
||||
, pytest-cov
|
||||
, pytest-mypy
|
||||
, pytest-mypy-plugins
|
||||
, pytest-subtests
|
||||
, setuptools
|
||||
, trio
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "returns";
|
||||
version = "0.19.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dry-python";
|
||||
repo = "returns";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-yKlW5M7LlK9xF4GiCKtUVrZwwSmFVjCnDhnzaNFcAsU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
anyio
|
||||
curio
|
||||
httpx
|
||||
hypothesis
|
||||
mypy
|
||||
pytestCheckHook
|
||||
pytest-aio
|
||||
pytest-cov
|
||||
pytest-mypy
|
||||
pytest-mypy-plugins
|
||||
pytest-subtests
|
||||
setuptools
|
||||
trio
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "--ignore=typesafety" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Make your functions return something meaningful, typed, and safe!";
|
||||
homepage = "returns.rtfd.io";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.jessemoore ];
|
||||
};
|
||||
}
|
||||
@@ -10065,6 +10065,8 @@ self: super: with self; {
|
||||
|
||||
retrying = callPackage ../development/python-modules/retrying { };
|
||||
|
||||
returns = callPackage ../development/python-modules/returns { };
|
||||
|
||||
retworkx = callPackage ../development/python-modules/retworkx { };
|
||||
|
||||
rfc3339 = callPackage ../development/python-modules/rfc3339 { };
|
||||
|
||||
Reference in New Issue
Block a user