depot/third_party/nixpkgs/pkgs/development/python-modules/pathspec/default.nix

30 lines
626 B
Nix
Raw Normal View History

{ 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 ];
};
}