depot/third_party/nixpkgs/pkgs/development/python-modules/glob2/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
566 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "glob2";
version = "0.7";
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 = [ maintainers.costrouc ];
};
}