Unverified Commit 8427c7f9 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

step-ca: 0.28.4 -> 0.29.0, nixos/step-ca: Set systemd Type=notify (#467597)

parents 9dd32707 148c1597
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -94,6 +94,7 @@ in
          ConditionFileNotEmpty = ""; # override upstream
        };
        serviceConfig = {
          Type = "notify";
          User = "step-ca";
          Group = "step-ca";
          UMask = "0077";
+3 −13
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@

buildGoModule rec {
  pname = "step-ca";
  version = "0.28.4";
  version = "0.29.0";

  src = fetchFromGitHub {
    owner = "smallstep";
@@ -24,20 +24,10 @@ buildGoModule rec {
    # Use forceFetchGit to fetch the source as git repo, as fetchGit isn't effected,
    # see https://github.com/NixOS/nixpkgs/issues/84312#issuecomment-2475948960.
    forceFetchGit = true;
    hash = "sha256-ZIpsSNdQVkelo5b3H03N8qToHU7z+lalAE7Ur6m2YwY=";
    hash = "sha256-TFpgVE394r6FkRWovlmDd3v/tGic2CekmO1Hp7S6KCE=";
  };

  patches = [
    # fix broken test TestHandler_RevokeCert
    # https://github.com/smallstep/certificates/pull/2370
    # TODO: remove at next release
    (fetchpatch2 {
      url = "https://github.com/smallstep/certificates/commit/b7e59c97f3b8a95a24153aeb85959118953f2bb4.patch?full_index=1";
      hash = "sha256-GKGKUj4hpS4jo6sMvUhnD3BeE+f5vnxY5tK0a2pwpNM=";
    })
  ];

  vendorHash = "sha256-gGPrrl5J8UrjUpof2DaSs1fAQsMSsyAMlC67h5V75+k=";
  vendorHash = "sha256-9PlJaB3BCwoE+uFo5jUggANSH7ZWnintZYBgFL21LZ4=";

  ldflags = [
    "-w"