depot/third_party/nixpkgs/pkgs/development/python-modules/glob2/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

27 lines
607 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "glob2";
version = "0.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "135bj8gm6vn45vv0phrvhyir36kfm17y7kmasxinv8lagk8dphw5";
};
checkPhase = ''
${python.interpreter} test.py
'';
meta = with lib; {
description = "Version of the glob module that can capture patterns and supports recursive wildcards";
homepage = "https://github.com/miracle2k/python-glob2/";
license = licenses.bsd3;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}