Unverified Commit ccedfe3d authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

rexi: init at 1.2.0 (#398469)

parents c6de99cd 7c11907f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -8664,6 +8664,12 @@
    githubId = 4065244;
    name = "Gary Guo";
  };
  gauravghodinde = {
    email = "gauravghodinde@gmail.com";
    github = "gauravghodinde";
    githubId = 65962770;
    name = "Gaurav Ghodinde";
  };
  gavin = {
    email = "gavin.rogers@holo.host";
    github = "gavinrogers";
+47 −0
Original line number Diff line number Diff line
{
  lib,
  python3Packages,
  fetchFromGitHub,
}:

python3Packages.buildPythonApplication rec {
  pname = "rexi";
  version = "1.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "royreznik";
    repo = "rexi";
    tag = "v${version}";
    hash = "sha256-tag2/QTM6tDCU3qr4e1GqRYAZgpvEgtA+FtR4P7WdiU=";
  };

  build-system = with python3Packages; [
    poetry-core
  ];

  dependencies = with python3Packages; [
    colorama
    typer
    textual
  ];

  nativeCheckInputs = with python3Packages; [
    pytest
    pytest-asyncio
    pytest-cov
  ];

  pythonRelaxDeps = [
    "textual"
    "typer"
  ];

  meta = {
    description = "User-friendly terminal UI to interactively work with regular expressions";
    homepage = "https://github.com/royreznik/rexi";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ gauravghodinde ];
    mainProgram = "rexi";
  };
}