evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pathspec / default.nix
blobc340d74ac58aa0f13f4fe4ea685f00e0c8809792
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   flit-core,
6   unittestCheckHook,
8   # for passthru.tests
9   awsebcli,
10   black,
11   hatchling,
12   yamllint,
15 buildPythonPackage rec {
16   pname = "pathspec";
17   version = "0.12.1";
18   format = "pyproject";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-pILVFQOhqzOxxnpsOBOiaVPb3HHDHayu+ag4xOKfVxI=";
23   };
25   nativeBuildInputs = [ flit-core ];
27   pythonImportsCheck = [ "pathspec" ];
29   checkInputs = [ unittestCheckHook ];
31   passthru.tests = {
32     inherit
33       awsebcli
34       black
35       hatchling
36       yamllint
37       ;
38   };
40   meta = {
41     description = "Utility library for gitignore-style pattern matching of file paths";
42     homepage = "https://github.com/cpburnz/python-path-specification";
43     changelog = "https://github.com/cpburnz/python-pathspec/blob/v${version}/CHANGES.rst";
44     license = lib.licenses.mpl20;
45     maintainers = with lib.maintainers; [ copumpkin ];
46   };