summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiounittest
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2019-12-29 13:07:42 -0500
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2019-12-29 13:44:14 -0500
commit9bb56b241629f48cc8afe2c110a3653b6a8a1c57 (patch)
tree73f69f7b63b0366d9ef5ee78324808298cf7606e /pkgs/development/python-modules/aiounittest
parent5d7fd25770a98863993125d53e49b7c2d99a46a2 (diff)
downloadnixpkgs-9bb56b241629f48cc8afe2c110a3653b6a8a1c57.tar
nixpkgs-9bb56b241629f48cc8afe2c110a3653b6a8a1c57.tar.gz
nixpkgs-9bb56b241629f48cc8afe2c110a3653b6a8a1c57.tar.bz2
nixpkgs-9bb56b241629f48cc8afe2c110a3653b6a8a1c57.tar.lz
nixpkgs-9bb56b241629f48cc8afe2c110a3653b6a8a1c57.tar.xz
nixpkgs-9bb56b241629f48cc8afe2c110a3653b6a8a1c57.tar.zst
nixpkgs-9bb56b241629f48cc8afe2c110a3653b6a8a1c57.zip
pythonPackages.aiounittest: init at 1.3.1
Diffstat (limited to 'pkgs/development/python-modules/aiounittest')
-rw-r--r--pkgs/development/python-modules/aiounittest/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiounittest/default.nix b/pkgs/development/python-modules/aiounittest/default.nix
new file mode 100644
index 00000000000..743600a0d3b
--- /dev/null
+++ b/pkgs/development/python-modules/aiounittest/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, nose
+, coverage
+, isPy27
+}:
+
+buildPythonPackage rec {
+  pname = "aiounittest";
+  version = "1.3.1";
+  disabled = isPy27;
+
+  src = fetchFromGitHub {
+    owner = "kwarunek";
+    repo = pname;
+    rev = version;
+    sha256 = "0mlic2q49cb0vv62mixy4i4x8c91qb6jlji7khiamcxcg676nasl";
+  };
+
+  checkInputs = [
+    nose
+    coverage
+  ];
+
+  checkPhase = ''
+    nosetests
+  '';
+
+  meta = with lib; {
+    description = "Test asyncio code more easily";
+    homepage = https://github.com/kwarunek/aiounittest;
+    license = licenses.mit;
+    maintainers = [ maintainers.costrouc ];
+  };
+}