Unverified Commit 52207c55 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

[Backport release-25.05] donpapi: refactor and mark as broken on darwin (#408965)

parents ddd0a706 391a088a
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  python3,
  fetchFromGitHub,
}:
@@ -22,11 +23,9 @@ python3.pkgs.buildPythonApplication rec {
    "pyasn1"
  ];

  nativeBuildInputs = with python3.pkgs; [
    poetry-core
  ];
  build-system = with python3.pkgs; [ poetry-core ];

  propagatedBuildInputs = with python3.pkgs; [
  dependencies = with python3.pkgs; [
    cryptography
    impacket
    lnkparse3
@@ -38,16 +37,15 @@ python3.pkgs.buildPythonApplication rec {
  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "donpapi"
  ];
  pythonImportsCheck = [ "donpapi" ];

  meta = with lib; {
    description = "Tool for dumping DPAPI credentials remotely";
    homepage = "https://github.com/login-securite/DonPAPI";
    changelog = "https://github.com/login-securite/DonPAPI/releases/tag/V${version}";
    changelog = "https://github.com/login-securite/DonPAPI/releases/tag/V${src.tag}";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ fab ];
    mainProgram = "donpapi";
    broken = stdenv.hostPlatform.isDarwin;
  };
}