nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "bracex";
11 version = "2.6";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-mPE0fNd+Iu6NlnowrU4xCyM/d1Tb8x/z/Ot2FFukfcc=";
17 };
18
19 nativeBuildInputs = [ hatchling ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 pythonImportsCheck = [ "bracex" ];
24
25 meta = {
26 description = "Bash style brace expansion for Python";
27 homepage = "https://github.com/facelessuser/bracex";
28 license = lib.licenses.mit;
29 maintainers = [ ];
30 };
31}