1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, setuptools
6}:
7
8buildPythonPackage rec {
9 pname = "pathspec";
10 version = "0.10.1";
11 format = "pyproject";
12 disabled = pythonOlder "3.7";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-es5hYbYh0x55AutrWuFI0Sz9I/SiSbn/trn+4SCEMj0=";
17 };
18
19 nativeBuildInputs = [
20 setuptools
21 ];
22
23 meta = {
24 description = "Utility library for gitignore-style pattern matching of file paths";
25 homepage = "https://github.com/cpburnz/python-path-specification";
26 license = lib.licenses.mpl20;
27 maintainers = with lib.maintainers; [ copumpkin ];
28 };
29}