3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/wcmatch/default.nix

33 lines
703 B
Nix
Raw Normal View History

2021-03-07 16:00:39 +00:00
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, bracex }:
buildPythonPackage rec {
pname = "wcmatch";
2021-11-15 11:30:06 +00:00
version = "8.3";
2021-03-07 16:00:39 +00:00
src = fetchPypi {
inherit pname version;
2021-11-15 11:30:06 +00:00
sha256 = "371072912398af61d1e4e78609e18801c6faecd3cb36c54c82556a60abc965db";
2021-03-07 16:00:39 +00:00
};
propagatedBuildInputs = [ bracex ];
checkInputs = [ 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 ];
};
}