Unverified Commit 90a46a00 authored by Sebastián Mancilla's avatar Sebastián Mancilla Committed by GitHub
Browse files

apprun-cli: 0.3.2 -> 0.5.0 (#446818)

parents 5f9d697a b218c5a4
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -7,23 +7,30 @@

buildGoModule rec {
  pname = "apprun-cli";
  version = "0.3.2";
  version = "0.5.0";

  src = fetchFromGitHub {
    owner = "fujiwara";
    repo = "apprun-cli";
    tag = "v${version}";
    hash = "sha256-k8ZFDWIuUjYqDIm7JdiqjeF2qaPX0SaOgqk4oud09Lc=";
    hash = "sha256-3M+kRXTQ0yaxQc9E5T9UThqEda2S1F77SJzX7burZlU=";
  };

  vendorHash = "sha256-WQRDkxL52RQmZn2aeE13pU4YGk8UjuZtS1lTNb53/hQ=";
  vendorHash = "sha256-i3ZthsZVxAYQDX6ZA1bU81F4BbYSsWdu1sOAiY7FK7Y=";

  ldflags = [
    "-s"
    "-w"
  ];

  passthru.updateScript = nix-update-script { };
  passthru.updateScript = nix-update-script {
    extraArgs = [
      "--version-regex"
      # Until a stable version is released, v0 tags are incorrectly recognized as the latest,
      # so specify minor releases
      "^v0.([0-9.]+)$"
    ];
  };

  meta = {
    description = "CLI for sakura AppRun";