Merge pull request #88928 from aciceri/navidrome
navidrome: init at 0.23.1
This commit is contained in:
commit
bc5843f8d1
@ -139,6 +139,12 @@
|
||||
githubId = 1517066;
|
||||
name = "Aiken Cairncross";
|
||||
};
|
||||
aciceri = {
|
||||
name = "Andrea Ciceri";
|
||||
email = "andrea.ciceri@autistici.org";
|
||||
github = "aciceri";
|
||||
githubId = 2318843;
|
||||
};
|
||||
acowley = {
|
||||
email = "acowley@gmail.com";
|
||||
github = "acowley";
|
||||
|
37
pkgs/servers/misc/navidrome/default.nix
Normal file
37
pkgs/servers/misc/navidrome/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchurl, ffmpeg, ffmpegSupport ? true, makeWrapper }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "navidrome";
|
||||
version = "0.23.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/deluan/navidrome/releases/download/v${version}/navidrome_${version}_Linux_x86_64.tar.gz";
|
||||
sha256 = "0hrnlpaq32f8slgmyl629v5b46ar2mq97q0cgrxy6ahfabfw2vih";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = ''
|
||||
tar xvf $src navidrome
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp navidrome $out/bin
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/navidrome \
|
||||
--prefix PATH : ${makeBinPath (optional ffmpegSupport ffmpeg)}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Navidrome Music Server and Streamer compatible with Subsonic/Airsonic";
|
||||
homepage = "https://www.navidrome.org/";
|
||||
license = licenses.gpl3;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ aciceri ];
|
||||
};
|
||||
}
|
@ -26896,4 +26896,6 @@ in
|
||||
vpsfree-client = callPackage ../tools/virtualization/vpsfree-client {};
|
||||
|
||||
gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { };
|
||||
|
||||
navidrome = callPackage ../servers/misc/navidrome {};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user