navidrome: 0.40.0 -> 0.42.1

This commit is contained in:
Zane van Iperen 2021-05-08 10:38:47 +10:00
parent 080cd658ca
commit 4083cd9046
No known key found for this signature in database
GPG key ID: 68616B2D8AC4DCC5

View file

@ -4,11 +4,11 @@ with lib;
stdenv.mkDerivation rec {
pname = "navidrome";
version = "0.40.0";
version = "0.42.1";
src = fetchurl {
url = "https://github.com/deluan/navidrome/releases/download/v${version}/navidrome_${version}_Linux_x86_64.tar.gz";
sha256 = "sha256-sBITCHyji55OnopNlDCNypSf/j8LKtarSGPYz5fQZys=";
sha256 = "1bndqs689rc7pf1l08rlph8h3f86kr1c7i96szs4wkycfy9w8vsv";
};
nativeBuildInputs = [ makeWrapper ];
@ -18,8 +18,12 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp navidrome $out/bin
runHook postInstall
'';
postFixup = ''
@ -30,7 +34,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Navidrome Music Server and Streamer compatible with Subsonic/Airsonic";
homepage = "https://www.navidrome.org/";
license = licenses.gpl3;
license = licenses.gpl3Only;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ aciceri ];
};