Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pathvalidate / default.nix
blobc3098c24b56d18f049890cdff55108f2af2b405f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , setuptools
6 }:
8 buildPythonPackage rec {
9   pname = "pathvalidate";
10   version = "3.2.0";
11   format = "pyproject";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-XoN4z2cSv/Z/vnqDB9mfqMGgyyiqR3BW+Pw3Tw3/JK0=";
18   };
20   nativeBuildInputs = [
21     setuptools
22   ];
24   # Requires `pytest-md-report`, causing infinite recursion.
25   doCheck = false;
27   pythonImportsCheck = [
28     "pathvalidate"
29   ];
31   meta = with lib; {
32     description = "Library to sanitize/validate a string such as filenames/file-paths/etc";
33     homepage = "https://github.com/thombashi/pathvalidate";
34     changelog = "https://github.com/thombashi/pathvalidate/releases/tag/v${version}";
35     license = licenses.mit;
36     maintainers = with maintainers; [ oxalica ];
37   };