3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.nose-of-yeti: init at 1.8

This commit is contained in:
Jaakko Luttinen 2018-10-27 14:54:12 +03:00 committed by Maximilian Bosch
parent d91e61865b
commit f5f7f1510d
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, six, nose, fudge, should-dsl }:
buildPythonPackage rec {
pname = "nose-of-yeti";
version = "1.8";
propagatedBuildInputs = [ six ];
checkInputs = [ nose fudge should-dsl ];
# PyPI doesn't contain tests so let's use GitHub.
src = fetchFromGitHub {
owner = "delfick";
repo = pname;
rev = "v${version}";
sha256 = "1pq9bf47k0csv41vdh2g6n336p3pd11q91hj5ypk0ls3nj756gbx";
};
checkPhase = ''
patchShebangs test.sh
./test.sh
'';
meta = with stdenv.lib; {
description = "Nose plugin providing BDD dsl for python";
homepage = https://github.com/delfick/nose-of-yeti;
license = licenses.mit;
maintainers = with maintainers; [ jluttine ];
};
}

View file

@ -3076,6 +3076,8 @@ in {
nose-cprof = callPackage ../development/python-modules/nose-cprof { };
nose-of-yeti = callPackage ../development/python-modules/nose-of-yeti { };
nose-pattern-exclude = callPackage ../development/python-modules/nose-pattern-exclude { };
nose_warnings_filters = callPackage ../development/python-modules/nose_warnings_filters { };