Files
nixpkgs/pkgs/development/python-modules/bracex/default.nix

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

34 lines
650 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "bracex";
version = "2.6";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-mPE0fNd+Iu6NlnowrU4xCyM/d1Tb8x/z/Ot2FFukfcc=";
};
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 = [ ];
};
}