blob: ecdc7dfe80d96d3f3571b0737f3c8af368218d49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pathvalidate";
version = "2.5.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-X/V9D6vl7Lek8eSVe/61rYq1q0wPpx95xrvCS9m30U0=";
};
# Requires `pytest-md-report`, causing infinite recursion.
doCheck = false;
pythonImportsCheck = [
"pathvalidate"
];
meta = with lib; {
description = "A Python library to sanitize/validate a string such as filenames/file-paths/etc";
homepage = "https://github.com/thombashi/pathvalidate";
license = licenses.mit;
maintainers = with maintainers; [ oxalica ];
};
}
|