1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/glob2/default.nix
Chris Ostrouchov e5f77fb6ba pythonPackages.glob2: init at 0.7
needed for poetry python 2.7 support
2019-07-20 09:23:01 +02:00

27 lines
564 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 ];
};
}