mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
spotube: 4.0.0 -> 4.0.2
This commit is contained in:
parent
75aa6d1891
commit
4a53aca1b9
1 changed files with 12 additions and 11 deletions
|
@ -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=";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue