about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/nose-of-yeti/default.nix
blob: 2bd63f3295d42c9c33d44845c7fe486fdd9b9556 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, 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 lib; {
    description = "Nose plugin providing BDD dsl for python";
    homepage = "https://github.com/delfick/nose-of-yeti";
    license = licenses.mit;
    maintainers = with maintainers; [ jluttine ];
  };
}