From 79d22ae0151fe198ee34181dfff4183260ffccd2 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 11 Jul 2014 06:04:42 +0200 Subject: python-packages: Add package 'sure', v1.2.7. Unfortunately the upstream version that can be found on PyPI doesn't include test cases, so we need to fetchgit and wait until tests will be shipped with a future upstream release. Reported at gabrielfalcao/sure#61. Signed-off-by: aszlig --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0f785d235f4..13e9c1ac9e7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7554,6 +7554,30 @@ rec { }; }; + + sure = buildPythonPackage rec { + name = "sure-${version}"; + version = "1.2.7"; + + # Not picking up from PyPI because it doesn't contain tests. + src = fetchgit { + url = "git://github.com/gabrielfalcao/sure.git"; + rev = "86ab9faa97aa9c1720c7d090deac2be385ed3d7a"; + sha256 = "02vffcdgr6vbj80lhl925w7zqy6cqnfvs088i0rbkjs5lxc511b3"; + }; + + buildInputs = [ nose ]; + + propagatedBuildInputs = [ six mock ]; + + meta = { + description = "Utility belt for automated testing"; + homepage = "http://falcao.it/sure/"; + license = licenses.gpl3Plus; + }; + }; + + # XXX: ValueError: ZIP does not support timestamps before 1980 # svneverever = buildPythonPackage rec { # name = "svneverever-778489a8"; -- cgit 1.4.1