summary refs log tree commit diff
path: root/pkgs/development/python-modules/txaio
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-04-26 14:25:02 +0200
committerLancelot SIX <lsix@lancelotsix.com>2017-05-02 09:24:46 +0200
commit687fe19a04375e432b9baa9115a17255d1b3c458 (patch)
treede396bc273d093792d630df18261216f63f8cb46 /pkgs/development/python-modules/txaio
parent91b5290412bf2c3d386bf8b0ce0adcb33c1a008d (diff)
downloadnixpkgs-687fe19a04375e432b9baa9115a17255d1b3c458.tar
nixpkgs-687fe19a04375e432b9baa9115a17255d1b3c458.tar.gz
nixpkgs-687fe19a04375e432b9baa9115a17255d1b3c458.tar.bz2
nixpkgs-687fe19a04375e432b9baa9115a17255d1b3c458.tar.lz
nixpkgs-687fe19a04375e432b9baa9115a17255d1b3c458.tar.xz
nixpkgs-687fe19a04375e432b9baa9115a17255d1b3c458.tar.zst
nixpkgs-687fe19a04375e432b9baa9115a17255d1b3c458.zip
pythonPackages.txaio: 2.5.2 -> 2.7.0
Diffstat (limited to 'pkgs/development/python-modules/txaio')
-rw-r--r--pkgs/development/python-modules/txaio/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/txaio/default.nix b/pkgs/development/python-modules/txaio/default.nix
new file mode 100644
index 00000000000..66b01d61094
--- /dev/null
+++ b/pkgs/development/python-modules/txaio/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, buildPythonPackage, fetchurl,
+  pytest, mock, six, twisted
+}:
+buildPythonPackage rec {
+  name = "${pname}-${version}";
+  pname = "txaio";
+  version = "2.7.0";
+
+  buildInputs = [ pytest mock ];
+  propagatedBuildInputs = [ six twisted ];
+
+  checkPhase = ''
+    py.test -k "not test_sdist"
+  '';
+
+  src = fetchurl {
+    url = "mirror://pypi/t/${pname}/${name}.tar.gz";
+    sha256 = "0hwd6jx6hb44p40id9r0m42y07rav5jvddf0f1bcm269i3dnwr47";
+  };
+
+  meta = with stdenv.lib; {
+    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;
+  };
+}