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.

35 lines
688 B
Nix
Raw Normal View History

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