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-06-18 22:47:43 +01:00
version = "8.2";
2021-03-07 16:00:39 +00:00
src = fetchPypi {
inherit pname version;
2021-06-18 22:47:43 +01:00
sha256 = "4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617";
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 ];
};
}