decent-sampler: 1.10.0 -> 1.12.1 (#350026)

This commit is contained in:
Atemu 2024-11-24 12:46:39 +01:00 committed by GitHub
commit f3cb98c1ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,23 +1,24 @@
{ lib
, stdenv
, fetchzip
, fetchurl
, makeDesktopItem
, copyDesktopItems
, buildFHSEnv
, alsa-lib
, freetype
, nghttp2
, libX11
, }:
{
lib,
stdenv,
fetchzip,
fetchurl,
makeDesktopItem,
copyDesktopItems,
buildFHSEnv,
alsa-lib,
freetype,
nghttp2,
libX11,
}:
let
pname = "decent-sampler";
version = "1.10.0";
version = "1.12.1";
icon = fetchurl {
url = "https://archive.org/download/ds-256/DS256.png";
hash = "sha256-SV8zY5QJ6uRSrLuGTmT1zwGoIIXCV9GD2ZNiqK+i1Bc=";
url = "https://www.decentsamples.com/wp-content/uploads/2018/09/cropped-Favicon_512x512.png";
hash = "sha256-EXjaHrlXY0HU2EGTrActNbltIiqTLfdkFgP7FXoLzrM=";
};
decent-sampler = stdenv.mkDerivation {
@ -25,8 +26,8 @@ let
src = fetchzip {
# dropbox links: https://www.dropbox.com/sh/dwyry6xpy5uut07/AABBJ84bjTTSQWzXGG5TOQpfa\
url = "https://archive.org/download/decent-sampler-linux-static-download-mirror/Decent_Sampler-${version}-Linux-Static-x86_64.tar.gz";
hash = "sha256-KYCf/F2/ziuXDHim4FPZQBARiSywvQDJBzKbHua+3SM=";
url = "https://www.dropbox.com/scl/fo/a0i0udw7ggfwnjoi05hh3/AJvmGadO6b-_Om8LjWkDTno/Decent_Sampler-1.12.1-Linux-Static-x86_64.tar.gz?rlkey=orvjprslmwn0dkfs0ncx6nxnm&dl=0";
hash = "sha256-9HkLk4XqkuiKinwHmtY7OY26SH1uzf3gJEihFhPLwe4=";
};
nativeBuildInputs = [ copyDesktopItems ];
@ -39,7 +40,10 @@ let
comment = "DecentSampler player";
icon = "decent-sampler";
exec = "decent-sampler";
categories = [ "Audio" "AudioVideo" ];
categories = [
"Audio"
"AudioVideo"
];
})
];
@ -78,9 +82,9 @@ buildFHSEnv {
meta = with lib; {
description = "Audio sample player";
longDescription = ''
Decent Sampler is an audio sample player.
Allowing you to play sample libraries in the DecentSampler format
(files with extensions: dspreset and dslibrary).
Decent Sampler is an audio sample player.
Allowing you to play sample libraries in the DecentSampler format
(files with extensions: dspreset and dslibrary).
'';
mainProgram = "decent-sampler";
homepage = "https://www.decentsamples.com/product/decent-sampler-plugin/";
@ -88,6 +92,6 @@ buildFHSEnv {
# that it is released under.
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ adam248 ];
maintainers = with maintainers; [ adam248 chewblacka ];
};
}