summary refs log tree commit diff
path: root/pkgs/development/python-modules/yanc
diff options
context:
space:
mode:
authorJaakko Luttinen <jaakko.luttinen@iki.fi>2018-10-27 15:00:51 +0300
committerMaximilian Bosch <maximilian@mbosch.me>2018-11-29 12:38:27 +0100
commit5d2ac2cd0674987e416202464076d5af3af30418 (patch)
treef3f6f095bb4fc01dd30bb2a0ac0ef708d475c595 /pkgs/development/python-modules/yanc
parent0f81ac7737ba0de7a65fb3578942534544cab2c1 (diff)
downloadnixpkgs-5d2ac2cd0674987e416202464076d5af3af30418.tar
nixpkgs-5d2ac2cd0674987e416202464076d5af3af30418.tar.gz
nixpkgs-5d2ac2cd0674987e416202464076d5af3af30418.tar.bz2
nixpkgs-5d2ac2cd0674987e416202464076d5af3af30418.tar.lz
nixpkgs-5d2ac2cd0674987e416202464076d5af3af30418.tar.xz
nixpkgs-5d2ac2cd0674987e416202464076d5af3af30418.tar.zst
nixpkgs-5d2ac2cd0674987e416202464076d5af3af30418.zip
pythonPackages.yanc: init at 0.3.3
Diffstat (limited to 'pkgs/development/python-modules/yanc')
-rw-r--r--pkgs/development/python-modules/yanc/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yanc/default.nix b/pkgs/development/python-modules/yanc/default.nix
new file mode 100644
index 00000000000..690b110fc93
--- /dev/null
+++ b/pkgs/development/python-modules/yanc/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, nose }:
+
+buildPythonPackage rec {
+  pname = "yanc";
+  version = "0.3.3";
+
+  # Tests fail on Python>=3.5. See: https://github.com/0compute/yanc/issues/10
+  disabled = !(pythonOlder "3.5");
+
+  checkInputs = [ nose ];
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0z35bkk9phs40lf5061k1plhjdl5fskm0dmdikrsqi1bjihnxp8w";
+  };
+
+  checkPhase = ''
+    nosetests .
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Yet another nose colorer";
+    homepage = https://github.com/0compute/yanc;
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ jluttine ];
+  };
+}