about summary refs log tree commit diff
path: root/pkgs/development/python-modules/check-manifest
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-02-13 10:30:55 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2023-02-13 10:33:25 +0100
commit67a00c202463acfef373b9a22d4e65a7174290ab (patch)
treeee71f9e83aaf43763fc53d851d5a79a01e03e55f /pkgs/development/python-modules/check-manifest
parent49a06c00057ca9db11f0f5ab524db88f836481bf (diff)
python310Packages.check-manifest: 0.48 -> 0.49
Changelog: https://github.com/mgedmin/check-manifest/blob/0.49/CHANGES.rst
Diffstat (limited to 'pkgs/development/python-modules/check-manifest')
-rw-r--r--pkgs/development/python-modules/check-manifest/default.nix23
1 files changed, 8 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/check-manifest/default.nix b/pkgs/development/python-modules/check-manifest/default.nix
index c06a75f3c67f3..832cac1f7872b 100644
--- a/pkgs/development/python-modules/check-manifest/default.nix
+++ b/pkgs/development/python-modules/check-manifest/default.nix
@@ -3,12 +3,10 @@
 , build
 , buildPythonPackage
 , fetchPypi
-, fetchpatch
 , git
-, mock
 , pep517
 , pytestCheckHook
-, toml
+, tomli
 , pythonOlder
 }:
 
@@ -17,34 +15,29 @@ buildPythonPackage rec {
   version = "0.49";
   format = "setuptools";
 
-  disabled = pythonOlder "3.6";
+  disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
     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 = [
     build
     pep517
-    toml
+  ] ++ lib.optionals (pythonOlder "3.11") [
+    tomli
   ];
 
   nativeCheckInputs = [
-    breezy
     git
-    mock
     pytestCheckHook
   ];
 
+  checkInputs = [
+    breezy
+  ];
+
   disabledTests = [
     # Test wants to setup a venv
     "test_build_sdist_pep517_isolated"