depot/third_party/nixpkgs/pkgs/development/python-modules/nose-of-yeti/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
748 B
Nix

{ 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 ];
};
}