mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
0215034f25
when they already rely on SRI hashes.
44 lines
780 B
Nix
44 lines
780 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, hatchling
|
|
, pytestCheckHook
|
|
, bracex
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wcmatch";
|
|
version = "8.4.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-sfBCqJnqTEWLcyHaG14zMePg7HgVg0NN4TAZRs6tuUM=";
|
|
};
|
|
|
|
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 = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|