summary refs log tree commit diff
diff options
context:
space:
mode:
authorFernando J Pando <fernando.pando@stelligent.com>2016-08-18 10:56:36 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2016-08-30 12:06:18 +0200
commit17278243d813692b20b8062aee6ac33743f25d00 (patch)
treeea43a1067f3813c62b4046f9270f7394eb9b2c30
parent70f55f99304534ae83a465f5d059f3c49d1db274 (diff)
downloadnixpkgs-17278243d813692b20b8062aee6ac33743f25d00.tar
nixpkgs-17278243d813692b20b8062aee6ac33743f25d00.tar.gz
nixpkgs-17278243d813692b20b8062aee6ac33743f25d00.tar.bz2
nixpkgs-17278243d813692b20b8062aee6ac33743f25d00.tar.lz
nixpkgs-17278243d813692b20b8062aee6ac33743f25d00.tar.xz
nixpkgs-17278243d813692b20b8062aee6ac33743f25d00.tar.zst
nixpkgs-17278243d813692b20b8062aee6ac33743f25d00.zip
pythonPackages.txaio: init at 2.5.1
Tested on Linux
Tested on Darwin
-rw-r--r--pkgs/top-level/python-packages.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 1646b65fa96..9a84c3ce6c8 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -29421,6 +29421,32 @@ in modules // {
     '';
   };
 
+  txaio = buildPythonPackage rec {
+    name = "${pname}-${version}";
+    pname = "txaio";
+    version = "2.5.1";
+
+    meta = {
+      description = "Utilities to support code that runs unmodified on Twisted and asyncio.";
+      homepage    = "https://github.com/crossbario/txaio";
+      license     = licenses.mit;
+      maintainers = with maintainers; [ nand0p ];
+      platforms   = platforms.all;
+    };
+
+    buildInputs = with self; [ pytest mock ];
+    propagatedBuildInputs = with self; [ six twisted ];
+
+    checkPhase = ''
+      py.test -k "not test_sdist"
+    '';
+
+    src = pkgs.fetchurl {
+      url = "mirror://pypi/t/${pname}/${name}.tar.gz";
+      sha256 = "1pni1m66mlmbybmaf3py4h7cpkmkssqb5l3rigkxvql2f53pcl32";
+    };
+  };
+
   yapf = buildPythonPackage rec {
     name = "yapf-${version}";
     version = "0.11.0";