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 <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-07-11 06:04:42 +02:00
parent 6863cd0910
commit 79d22ae015
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -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";