Unverified Commit f44ccefb authored by Bruno BELANYI's avatar Bruno BELANYI Committed by GitHub
Browse files

autobrr: 1.76.0 -> 1.77.0 (#515547)

parents 7dccb145 164b56d3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -16,12 +16,12 @@

let
  pname = "autobrr";
  version = "1.76.0";
  version = "1.77.0";
  src = fetchFromGitHub {
    owner = "autobrr";
    repo = "autobrr";
    tag = "v${version}";
    hash = "sha256-MGqsRRN73L6i/lhdhnoi3ehnDIRDQpgFYluO6ZeOPT0=";
    hash = "sha256-Rz2rPV1IigaaSwk18vldNQ1RRK9cUJPy4yYkL1KTURw=";
  };

  autobrr-web = stdenvNoCC.mkDerivation {
@@ -60,7 +60,6 @@ let
in
buildGoModule (finalAttrs: {
  inherit
    autobrr-web
    pname
    version
    src
@@ -69,7 +68,7 @@ buildGoModule (finalAttrs: {
  vendorHash = "sha256-HjHRT/PAZdMM/2JWmNMK/I9Gc0ThTAFDSxWW/ATYxW8=";

  preBuild = ''
    cp -r ${autobrr-web}/* web/dist
    cp -r ${finalAttrs.passthru.autobrr-web}/* web/dist
  '';

  ldflags = [
@@ -88,6 +87,7 @@ buildGoModule (finalAttrs: {
  versionCheckProgramArg = "version";

  passthru = {
    inherit autobrr-web;
    updateScript = nix-update-script {
      extraArgs = [
        "--subpackage"