0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
29 lines
626 B
Nix
29 lines
626 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pathspec";
|
|
version = "0.10.3";
|
|
format = "pyproject";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ViAN5Ad9nQeRRlqpCVoB1CGGHkBbUJaVUFHe79aX1vY=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|