Unverified Commit 2116b3ab authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

regrippy: init at 2.0.1 (#412366)

parents af136988 f76e0581
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  lib,
  python3,
  fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication {
  pname = "regippy";
  version = "2.0.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "airbus-cert";
    repo = "regrippy";
    rev = "05c9db999853c47af1d15f92f1a34aa2441e8882";
    hash = "sha256-gS7qVPlXwn6UXRXPN5ahPmQL3JpwmESUEi0KKAzOo+8=";
  };

  postInstall = ''
    mv $out/bin/regrip.py $out/bin/regrippy
  '';

  build-system = [ python3.pkgs.setuptools ];

  dependencies = [
    python3.pkgs.importlib-resources
    python3.pkgs.python-registry
  ];

  meta = {
    description = "Modern Python-3-based alternative to RegRipper";
    homepage = "https://github.com/airbus-cert/regrippy";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ mikehorn ];
    mainProgram = "regrippy";
  };
}