spotube: 4.0.0 -> 4.0.2

This commit is contained in:
TomaSajt 2025-03-15 18:51:31 +01:00
parent 75aa6d1891
commit 4a53aca1b9
No known key found for this signature in database
GPG key ID: F011163C050122A1

View file

@ -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=";
};
};