summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/asyncstdlib
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-05-07 18:48:08 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-05-07 18:48:08 +0200
commita79ddca1b5deebf258c93bc78558f76a378024b4 (patch)
treebaf5eb8848230352f916ed5cf557bed534d4ade8 /pkgs/development/python-modules/asyncstdlib
parent75e9b83b3822a320a1deca59d7f9a3e08dc59dec (diff)
python3Packages.asyncstdlib: init at 3.9.1
Diffstat (limited to 'pkgs/development/python-modules/asyncstdlib')
-rw-r--r--pkgs/development/python-modules/asyncstdlib/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/asyncstdlib/default.nix b/pkgs/development/python-modules/asyncstdlib/default.nix
new file mode 100644
index 000000000000..63e096bdc0f2
--- /dev/null
+++ b/pkgs/development/python-modules/asyncstdlib/default.nix
@@ -0,0 +1,38 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, typing-extensions
+, pytestCheckHook
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+ pname = "asyncstdlib";
+ version = "3.9.1";
+ disabled = pythonOlder "3.7";
+ format = "flit";
+
+ src = fetchFromGitHub {
+ owner = "maxfischer2781";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "13ranr7zi61w52vfrxwkf32bbhk88j0r5c5z2x2h5vw268001lk2";
+ };
+
+ propagatedBuildInputs = [
+ typing-extensions
+ ];
+
+ checkInputs = [
+ pytestCheckHook
+ ];
+
+ pythonImportsCheck = [ "asyncstdlib" ];
+
+ meta = with lib; {
+ description = "Python library that extends the Python asyncio standard library";
+ homepage = "https://asyncstdlib.readthedocs.io/";
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ fab ];
+ };
+}