navidrome: 0.48.0 -> 0.49.1

This commit is contained in:
squalus 2023-02-09 15:10:19 -08:00
parent 275d807773
commit d8cfaff2ad
3 changed files with 1662 additions and 81 deletions

View File

@ -14,13 +14,13 @@
let
version = "0.48.0";
version = "0.49.1";
src = fetchFromGitHub {
owner = "navidrome";
repo = "navidrome";
rev = "v${version}";
hash = "sha256-FO2Vl3LeajvZ8CLtnsOSLXr//gaOWPbMthj70RHxp+Q=";
hash = "sha256-YaBtzMW2zUHRYJDDF+mMll2rMBAg5os2HSP0uEujoWI=";
};
ui = callPackage ./ui {
@ -35,7 +35,7 @@ buildGoModule {
inherit src version;
vendorSha256 = "sha256-LPoM5RFHfTTWZtlxc59hly12zzrY8wjXGZ6xW2teOFM=";
vendorSha256 = "sha256-9JDP58UxlSadMXD7gUl2oN+uiYN9RlGO4HMuZJhO9mw=";
nativeBuildInputs = [ makeWrapper pkg-config ];
@ -70,5 +70,7 @@ buildGoModule {
sourceProvenance = with lib.sourceTypes; [ fromSource ];
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ aciceri squalus ];
# Broken on Darwin: sandbox-exec: pattern serialization length exceeds maximum (NixOS/nix#4119)
broken = stdenv.isDarwin;
};
}

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,7 @@ writeScript "update-navidrome" ''
tempDir=$(mktemp -d)
cp $src/ui/package.json $src/ui/package-lock.json $tempDir
cd $tempDir
node2nix -l package-lock.json -c node-composition.nix
node2nix -d -l package-lock.json -c node-composition.nix
cp *.nix $uiDir
rm -rf $tempDir
''