mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
pythonPackages.parameterizedtestcase: init at 0.1.0
This commit is contained in:
parent
fdfe544443
commit
9ed4eacdfb
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "parameterizedtestcase";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4ccc1d15d7e7ef153619a6a9cd45b170268cf82c67fdd336794c75139aae127e";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} -m parameterizedtestcase.tests
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
doCheck = isPy27;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parameterized tests for Python's unittest module";
|
||||
homepage = "https://github.com/msabramo/python_unittest_parameterized_test_case";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -5237,6 +5237,8 @@ in {
|
||||
|
||||
openapi-core = callPackage ../development/python-modules/openapi-core { };
|
||||
|
||||
parameterizedtestcase = callPackage ../development/python-modules/parameterizedtestcase { };
|
||||
|
||||
pdunehd = callPackage ../development/python-modules/pdunehd { };
|
||||
|
||||
phonopy = callPackage ../development/python-modules/phonopy { };
|
||||
|
Loading…
Reference in New Issue
Block a user