python310Packages.check-manifest: 0.48 -> 0.49

Changelog: https://github.com/mgedmin/check-manifest/blob/0.49/CHANGES.rst
This commit is contained in:
Fabian Affolter 2023-02-13 10:30:55 +01:00
parent 49a06c0005
commit 67a00c2024

View File

@ -3,12 +3,10 @@
, build , build
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch
, git , git
, mock
, pep517 , pep517
, pytestCheckHook , pytestCheckHook
, toml , tomli
, pythonOlder , pythonOlder
}: }:
@ -17,34 +15,29 @@ buildPythonPackage rec {
version = "0.49"; version = "0.49";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-ZKZARFVCzyJpGWV8e3jQLZwcpbHCXX5m4OH/MlBg9BY="; hash = "sha256-ZKZARFVCzyJpGWV8e3jQLZwcpbHCXX5m4OH/MlBg9BY=";
}; };
patches = [
# Fix git submodule tests using file: protocol
(fetchpatch {
url = "https://github.com/mgedmin/check-manifest/pull/159.patch";
hash = "sha256-CDtuIoHgP4THLt+xF32C/OrjakwPOEVTKUh5JuQB5wM=";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
build build
pep517 pep517
toml ] ++ lib.optionals (pythonOlder "3.11") [
tomli
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
breezy
git git
mock
pytestCheckHook pytestCheckHook
]; ];
checkInputs = [
breezy
];
disabledTests = [ disabledTests = [
# Test wants to setup a venv # Test wants to setup a venv
"test_build_sdist_pep517_isolated" "test_build_sdist_pep517_isolated"