From 4081902723ba172b069e932c1813c8f97a8269b6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Aug 2022 10:01:53 +0200 Subject: [PATCH] python310Packages.pathvalidate: update disabled --- .../python-modules/pathvalidate/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pathvalidate/default.nix b/pkgs/development/python-modules/pathvalidate/default.nix index 3feb2461fdb9..ecdc7dfe80d9 100644 --- a/pkgs/development/python-modules/pathvalidate/default.nix +++ b/pkgs/development/python-modules/pathvalidate/default.nix @@ -1,19 +1,27 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder }: +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +}: buildPythonPackage rec { pname = "pathvalidate"; version = "2.5.2"; - disabled = pythonOlder "3.5"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-X/V9D6vl7Lek8eSVe/61rYq1q0wPpx95xrvCS9m30U0="; + hash = "sha256-X/V9D6vl7Lek8eSVe/61rYq1q0wPpx95xrvCS9m30U0="; }; # Requires `pytest-md-report`, causing infinite recursion. doCheck = false; - pythonImportsCheck = [ "pathvalidate" ]; + pythonImportsCheck = [ + "pathvalidate" + ]; meta = with lib; { description = "A Python library to sanitize/validate a string such as filenames/file-paths/etc";