13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
32 lines
704 B
Nix
32 lines
704 B
Nix
{ 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 ];
|
|
};
|
|
}
|