Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 688 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, hatchling 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "bracex"; 11 version = "2.3.post1"; 12 format = "pyproject"; 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-57I/yLLNBtPewGkrqr7LJJ3alOBqYXkB/wOmxW/XFpM="; 18 }; 19 20 nativeBuildInputs = [ 21 hatchling 22 ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "bracex" ]; 27 28 meta = with lib; { 29 description = "Bash style brace expansion for Python"; 30 homepage = "https://github.com/facelessuser/bracex"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ SuperSandro2000 ]; 33 }; 34}