diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-06-04 12:24:32 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-06-04 12:24:44 +0200 |
commit | 56a850701bffd4b230e0cb3b4ff3690885491152 (patch) | |
tree | a29e9f923c08a58108539afff17ebf1b3f62cafd /pkgs/development/python-modules/aiofiles | |
parent | 8490c83f231a6a7faf109e8c8428b191ea94d7e7 (diff) |
python.pkgs.aiofiles: init at 0.3.1
Diffstat (limited to 'pkgs/development/python-modules/aiofiles')
-rw-r--r-- | pkgs/development/python-modules/aiofiles/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiofiles/default.nix b/pkgs/development/python-modules/aiofiles/default.nix new file mode 100644 index 0000000000000..d1c6e279064e3 --- /dev/null +++ b/pkgs/development/python-modules/aiofiles/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchPypi +, isPy33 +, pythonOlder +, asyncio +, singledispatch +}: + +buildPythonPackage rec { + pname = "aiofiles"; + version = "0.3.1"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "6c4936cea65175277183553dbc27d08b286a24ae5bd86f44fbe485dfcf77a14a"; + }; + + disabled = pythonOlder "3.3"; + + propagatedBuildInputs = lib.optionals isPy33 [ asyncio singledispatch ]; + + # No tests in archive + doCheck = false; + + meta = { + description = "File support for asyncio"; + homepage = https://github.com/Tinche/aiofiles; + license = with lib.licenses; [ asl20 ]; + maintainer = with lib.maintainers; [ fridh ]; + }; +} \ No newline at end of file |