1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 17:01:10 +03:00
nixpkgs/pkgs/development/python-modules/wcmatch/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
703 B
Nix
Raw Normal View History

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