depot/third_party/nixpkgs/pkgs/development/python-modules/braceexpand/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

38 lines
793 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "braceexpand";
version = "0.1.7";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version pname;
sha256 = "01gpcnksnqv6np28i4x8s3wkngawzgs99zvjfia57spa42ykkrg6";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "braceexpand" ];
meta = {
description = "Bash-style brace expansion for Python";
homepage = "https://github.com/trendels/braceexpand";
changelog = "https://github.com/trendels/braceexpand/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
newam
pbsds
];
};
}