Merge pull request #202166 from tjni/python-datemath

python310Packages.python-datemath: remove unittest2
This commit is contained in:
Artturi 2022-11-21 21:57:01 +02:00 committed by GitHub
commit c30da46cc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,9 +2,9 @@
, arrow
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pythonOlder
, pytestCheckHook
, unittest2
}:
buildPythonPackage rec {
@ -21,13 +21,20 @@ buildPythonPackage rec {
sha256 = "sha256-WVWGhyBguE1+KEMQu0N5QxO7IC4rPEJ/2L3VWUCQNi4=";
};
patches = [
(fetchpatch {
name = "remove-unittest2.patch";
url = "https://github.com/nickmaccarthy/python-datemath/commit/781daa0241ed327d5f211f3b62f553f3ee3d86e0.patch";
hash = "sha256-WD6fuDaSSNXgYWoaUexiWnofCzEZzercEUlqTvOUT5I=";
})
];
propagatedBuildInputs = [
arrow
];
checkInputs = [
pytestCheckHook
unittest2
];
pytestFlagsArray = [