Unverified Commit 7b5de605 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

certipy: fix build with pyasn1 0.5.0

parent 15a3b9bb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -15,6 +15,12 @@ python3.pkgs.buildPythonApplication rec {
    hash = "sha256-llLGr9IpuXQYIN2WaOkvfE2dAZb3PMVlNmketUpuyDI=";
  };

  postPatch = ''
    # pin does not apply because our ldap3 contains a patch to fix pyasn1 compability
    substituteInPlace setup.py \
      --replace "pyasn1==0.4.8" "pyasn1"
  '';

  propagatedBuildInputs = with python3.pkgs; [
    asn1crypto
    dnspython