Unverified Commit 9a8e50c2 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

pizauth: fix updateScript; 1.0.8 -> 1.0.9 (#472919)

parents 070ea1ce 502efa95
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -8,16 +8,16 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "pizauth";
  version = "1.0.8";
  version = "1.0.9";

  src = fetchFromGitHub {
    owner = "ltratt";
    repo = "pizauth";
    tag = "pizauth-${finalAttrs.version}";
    hash = "sha256-KLHccRCJ19CrGKePhUgW4GhQzn+ULE861cW2ykGoaZk=";
    hash = "sha256-RrmRdJOYvQ9/DaNXH8fQ3BCNdYba/6HcsT3EAV1qoNA=";
  };

  cargoHash = "sha256-m1kOV0b/HCSAGfbEh4GdtrlphoELe7ebG+kgKKNYihY=";
  cargoHash = "sha256-ZY1BcunsR4i8QomRrh9yKdH7CP84Wl7UGUZQ8LUCd68=";

  nativeBuildInputs = [ installShellFiles ];

@@ -33,7 +33,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
    install -Dm444 lib/systemd/user/pizauth{,-*}.service -t $out/lib/systemd/user
  '';

  passthru.updateScript = nix-update-script { };
  passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=pizauth-(.*)" ]; };

  meta = {
    description = "Command-line OAuth2 authentication daemon";