summary refs log tree commit diff
path: root/pkgs/development/python-modules/ddt/default.nix
blob: a660aaafca8a92189cc4ddc6fda4efe22c67af4e (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
{ stdenv
, buildPythonPackage
, fetchPypi
, nose, six, pyyaml, mock
}:

buildPythonPackage rec {
  pname = "ddt";
  version = "1.2.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "9f79cf234064cf9b43492b72da35c473de3f03163d37bd13cec5bd8d200dda6b";
  };

  checkInputs = [ nose six pyyaml mock ];

  checkPhase = ''
    nosetests -s
  '';

  meta = with stdenv.lib; {
    description = "Data-Driven/Decorated Tests, a library to multiply test cases";
    homepage = "https://github.com/txels/ddt";
    license = licenses.mit;
  };

}