02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
24 lines
671 B
Nix
24 lines
671 B
Nix
{ lib, buildPythonPackage, fetchPypi, pythonOlder }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pathvalidate";
|
|
version = "2.5.1";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-u8J+ZTM1q6eTWireIpliLnapSHvJAEzc8UQc6NL/SlQ=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|