depot/third_party/nixpkgs/pkgs/development/python-modules/braceexpand/default.nix
Default email 77976348d2 Project import generated by Copybara.
GitOrigin-RevId: 9aeeb7574fb784eaf6395f4400705b5f619e6cc3
2021-10-17 05:12:59 +03:00

30 lines
692 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "braceexpand";
version = "0.1.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version pname;
sha256 = "01gpcnksnqv6np28i4x8s3wkngawzgs99zvjfia57spa42ykkrg6";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "braceexpand" ];
meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ newam ];
};
}