depot/third_party/nixpkgs/pkgs/development/python-modules/bracex/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

34 lines
672 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, hatchling
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "bracex";
version = "2.3.post1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-57I/yLLNBtPewGkrqr7LJJ3alOBqYXkB/wOmxW/XFpM=";
};
nativeBuildInputs = [
hatchling
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bracex" ];
meta = with lib; {
description = "Bash style brace expansion for Python";
homepage = "https://github.com/facelessuser/bracex";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}