Unverified Commit 1e7648e3 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

spotube: 4.0.0 -> 4.0.2 (#390194)

parents 60b7c9f8 4a53aca1
Loading
Loading
Loading
Loading
+12 −11
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "spotube";
  version = "4.0.0";
  version = "4.0.2";

  src = finalAttrs.passthru.sources.${stdenv.hostPlatform.system};

@@ -84,28 +84,29 @@ stdenv.mkDerivation (finalAttrs: {
  passthru.sources =
    let
      fetchArtifact =
        { filename, hash }:
        { suffix, hash }:
        fetchurl {
          url = "https://github.com/KRTirtho/spotube/releases/download/v${finalAttrs.version}/${filename}";
          name = "Spotube-${finalAttrs.version}-${suffix}";
          url = "https://github.com/KRTirtho/spotube/releases/download/v${finalAttrs.version}/Spotube-${suffix}";
          inherit hash;
        };
    in
    {
      "aarch64-linux" = fetchArtifact {
        filename = "Spotube-linux-aarch64.deb";
        hash = "sha256-q+0ah6C83zVdrWWMmaBvZebRQP0Ie83Ewp7hjnp2NPw=";
        suffix = "linux-aarch64.deb";
        hash = "sha256-zoJ0WPui6KdUyML47RbEBNySTZ8FvStYAOj1mndjh1s=";
      };
      "x86_64-linux" = fetchArtifact {
        filename = "Spotube-linux-x86_64.deb";
        hash = "sha256-pk+xi7y0Qilmzk70T4u747zzFn4urZ6Kwuiqq+/q8uM=";
        suffix = "linux-x86_64.deb";
        hash = "sha256-SM/lWUhXe20FCgneegn5As5a53YBsoDIMfIYhRBHWjI=";
      };
      "x86_64-darwin" = fetchArtifact {
        filename = "Spotube-macos-universal.dmg";
        hash = "sha256-ielRdH+D1QdrKH4OxQFdw6rpzURBs/dRf/synS/Vrdk=";
        suffix = "macos-universal.dmg";
        hash = "sha256-0eNeMpC8usPfbuh2aj43n6KLysRQ55yLdOT7Z5faVLU=";
      };
      "aarch64-darwin" = fetchArtifact {
        filename = "Spotube-macos-universal.dmg";
        hash = "sha256-ielRdH+D1QdrKH4OxQFdw6rpzURBs/dRf/synS/Vrdk=";
        suffix = "macos-universal.dmg";
        hash = "sha256-0eNeMpC8usPfbuh2aj43n6KLysRQ55yLdOT7Z5faVLU=";
      };
    };