mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
29 lines
547 B
Nix
29 lines
547 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose, six, pyyaml, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ddt";
|
|
version = "1.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "898364fc34b27981b925171a0011c174c94633cb678eb1fac05fe7a234c7912c";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|