Merge pull request #276568 from adamcstephens/abs/2.7.0
audiobookshelf: 2.6.0 -> 2.7.0
This commit is contained in:
commit
efb542a5c6
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
pkgs,
|
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
runCommand,
|
runCommand,
|
||||||
buildNpmPackage,
|
buildNpmPackage,
|
||||||
|
@ -17,13 +16,13 @@ let
|
||||||
nodejs = nodejs_18;
|
nodejs = nodejs_18;
|
||||||
|
|
||||||
pname = "audiobookshelf";
|
pname = "audiobookshelf";
|
||||||
version = "2.6.0";
|
version = "2.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "advplyr";
|
owner = "advplyr";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-lifvfh9dF3Hbgm5NHrzS9zQdv+INSByNkqMWTxTpUMo=";
|
sha256 = "sha256-bRQ/GbUe+vsgYjSVf3jssoxGzgNeKG4BCDIhNJovAN8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
client = buildNpmPackage {
|
client = buildNpmPackage {
|
||||||
|
@ -37,7 +36,7 @@ let
|
||||||
NODE_OPTIONS = "--openssl-legacy-provider";
|
NODE_OPTIONS = "--openssl-legacy-provider";
|
||||||
|
|
||||||
npmBuildScript = "generate";
|
npmBuildScript = "generate";
|
||||||
npmDepsHash = "sha256-FxP1Kysx3ngk3napZ5uvKSabeOypBtA0kjhyAKpcdo8=";
|
npmDepsHash = "sha256-2E7Qy3Yew+j+eKKYJMV0SQ/LlJaIfOGm4MpxwP5Dn3Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
wrapper = import ./wrapper.nix {
|
wrapper = import ./wrapper.nix {
|
||||||
|
@ -52,7 +51,7 @@ in buildNpmPackage {
|
||||||
|
|
||||||
dontNpmBuild = true;
|
dontNpmBuild = true;
|
||||||
npmInstallFlags = [ "--only-production" ];
|
npmInstallFlags = [ "--only-production" ];
|
||||||
npmDepsHash = "sha256-NcurZee1Z8Rvm2UcjvckbdirfgiIkXMx9GKbr4x/HqE=";
|
npmDepsHash = "sha256-BZSRa/27oKm2rJoHFq8TpPzkX2CDO9zk5twtcMeo0cQ=";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/opt/client
|
mkdir -p $out/opt/client
|
||||||
|
@ -69,6 +68,7 @@ in buildNpmPackage {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.audiobookshelf.org/";
|
homepage = "https://www.audiobookshelf.org/";
|
||||||
description = "Self-hosted audiobook and podcast server";
|
description = "Self-hosted audiobook and podcast server";
|
||||||
|
changelog = "https://github.com/advplyr/audiobookshelf/releases/tag/v${version}";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ maintainers.jvanbruegge ];
|
maintainers = [ maintainers.jvanbruegge ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|
Loading…
Reference in a new issue