2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, six, nose, fudge, should-dsl }:
|
2018-10-27 12:54:12 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-27 12:54:12 +01:00
|
|
|
description = "Nose plugin providing BDD dsl for python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/delfick/nose-of-yeti";
|
2018-10-27 12:54:12 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|