mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
python312Packages.httpretty: fix build
This commit is contained in:
parent
3c26a3a495
commit
96c7496c70
@ -2,32 +2,32 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
sure,
|
||||
six,
|
||||
setuptools,
|
||||
|
||||
# tests
|
||||
freezegun,
|
||||
mock,
|
||||
pytestCheckHook,
|
||||
sure,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "httpretty";
|
||||
version = "1.1.4";
|
||||
format = "setuptools";
|
||||
|
||||
# drop this for version > 0.9.7
|
||||
# Flaky tests: https://github.com/gabrielfalcao/HTTPretty/pull/394
|
||||
doCheck = lib.versionAtLeast version "0.9.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "20de0e5dd5a18292d36d928cc3d6e52f8b2ac73daec40d41eb62dee154933b68";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
sure
|
||||
freezegun
|
||||
mock
|
||||
pytestCheckHook
|
||||
sure
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
|
Loading…
Reference in New Issue
Block a user