Merge pull request #116112 from dotlambda/ddt-1.4.2

pythonPackages.ddt: 1.4.1 -> 1.4.2
This commit is contained in:
Sandro 2021-03-13 01:54:12 +01:00 committed by GitHub
commit 8141d3160d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, six, pyyaml, mock
, pytestCheckHook
, enum34
@ -10,21 +9,13 @@
buildPythonPackage rec {
pname = "ddt";
version = "1.4.1";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "0595e70d074e5777771a45709e99e9d215552fb1076443a25fad6b23d8bf38da";
sha256 = "sha256-ZKZzZqJxXmNriGlMxgdcwC2ykvAQmLjjhTl8iU05U3g=";
};
patches = [
# fix tests with recent PyYAML, https://github.com/datadriventests/ddt/pull/96
(fetchpatch {
url = "https://github.com/datadriventests/ddt/commit/97f0a2315736e50f1b34a015447cd751da66ecb6.patch";
sha256 = "1g7l5h7m7s4yqfxlygrg7nnhb9xhz1drjld64ssi3fbsmn7klf0a";
})
];
checkInputs = [ six pyyaml mock pytestCheckHook ];
propagatedBuildInputs = lib.optionals (!isPy3k) [