472aeafc57
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
40 lines
741 B
Nix
40 lines
741 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatchling,
|
|
pytestCheckHook,
|
|
bracex,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wcmatch";
|
|
version = "10.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-5y8N4Ju6agTg3nCTewzwblXzbzez3rQi36+FS4Z7hAo=";
|
|
};
|
|
|
|
nativeBuildInputs = [ hatchling ];
|
|
|
|
propagatedBuildInputs = [ bracex ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
preCheck = ''
|
|
export HOME=$(mktemp -d)
|
|
'';
|
|
|
|
disabledTests = [ "TestTilde" ];
|
|
|
|
pythonImportsCheck = [ "wcmatch" ];
|
|
|
|
meta = with lib; {
|
|
description = "Wilcard File Name matching library";
|
|
homepage = "https://github.com/facelessuser/wcmatch";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|