audiobookshelf: 2.2.23 -> 2.3.3
This commit is contained in:
parent
98ee443b8f
commit
c81adfe72f
1 changed files with 6 additions and 5 deletions
|
@ -1,16 +1,16 @@
|
||||||
{ lib, stdenv, pkgs, fetchFromGitHub, runCommand, buildNpmPackage, nodejs_18, tone, ffmpeg-full, util-linux, libwebp }:
|
{ lib, stdenv, pkgs, fetchFromGitHub, runCommand, buildNpmPackage, nodejs_18, tone, ffmpeg-full, util-linux, python3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
nodejs = nodejs_18;
|
nodejs = nodejs_18;
|
||||||
|
|
||||||
pname = "audiobookshelf";
|
pname = "audiobookshelf";
|
||||||
version = "2.2.23";
|
version = "2.3.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "advplyr";
|
owner = "advplyr";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-dmeqxXrVKXFIYI5/CBvGN5wAssY2DC6fIRDr2+0EL+I=";
|
sha256 = "sha256-wSIA2KKDKf3DNgYNNIyYNT8xyPWCZvwLcWuDhWOZpLs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
client = buildNpmPackage {
|
client = buildNpmPackage {
|
||||||
|
@ -24,7 +24,7 @@ let
|
||||||
NODE_OPTIONS = "--openssl-legacy-provider";
|
NODE_OPTIONS = "--openssl-legacy-provider";
|
||||||
|
|
||||||
npmBuildScript = "generate";
|
npmBuildScript = "generate";
|
||||||
npmDepsHash = "sha256-W4S8+4V4CrU9b+nbuH3+kKQKlIkOT9i72+YAWO/3gCQ=";
|
npmDepsHash = "sha256-s3CwGFK87podBJwAqh7JoMA28vnmf77iexrAbbwZlFk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
wrapper = import ./wrapper.nix {
|
wrapper = import ./wrapper.nix {
|
||||||
|
@ -35,10 +35,11 @@ in buildNpmPackage {
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
|
|
||||||
buildInputs = [ util-linux ];
|
buildInputs = [ util-linux ];
|
||||||
|
nativeBuildInputs = [ python3 ];
|
||||||
|
|
||||||
dontNpmBuild = true;
|
dontNpmBuild = true;
|
||||||
npmInstallFlags = [ "--only-production" ];
|
npmInstallFlags = [ "--only-production" ];
|
||||||
npmDepsHash = "sha256-XBQNLcFHq6U/yknlXiIEGulTDTw1wLBnhEi3h5dtBuE=";
|
npmDepsHash = "sha256-gueSlQh4tRTjIWvpNG2cj1np/zUGbjsnv3fA2owtiQY=";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/opt/client
|
mkdir -p $out/opt/client
|
||||||
|
|
Loading…
Reference in a new issue