nixpkgs-suyu/pkgs/development/python-modules/glob2/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

27 lines
570 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 = [ ];
};
}