5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
29 lines
626 B
Nix
29 lines
626 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pathspec";
|
|
version = "0.10.1";
|
|
format = "pyproject";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-es5hYbYh0x55AutrWuFI0Sz9I/SiSbn/trn+4SCEMj0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
meta = {
|
|
description = "Utility library for gitignore-style pattern matching of file paths";
|
|
homepage = "https://github.com/cpburnz/python-path-specification";
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ copumpkin ];
|
|
};
|
|
}
|