python3Packages.pytest-freezegun: don't rely on distutils
This commit is contained in:
parent
adae7334e4
commit
9897662ca4
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, freezegun
|
, freezegun
|
||||||
, pytest
|
, pytest
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -17,6 +18,15 @@ buildPythonPackage rec {
|
||||||
sha256 = "10c4pbh03b4s1q8cjd75lr0fvyf9id0zmdk29566qqsmaz28npas";
|
sha256 = "10c4pbh03b4s1q8cjd75lr0fvyf9id0zmdk29566qqsmaz28npas";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# https://github.com/ktosiek/pytest-freezegun/pull/38
|
||||||
|
name = "pytest-freezegun-drop-distutils.patch";
|
||||||
|
url = "https://github.com/ktosiek/pytest-freezegun/commit/03d7107a877e8f07617f931a379f567d89060085.patch";
|
||||||
|
hash = "sha256-/7GTQdidVbE2LT5hwxjEc2dr+aWr6TX1131U4KMQhns=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
buildInputs = [ pytest ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue