mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Merge pull request #278698 from bachp/photoprism-update
photoprism: 231011-63f708417 -> 231128-f48ff16ef
This commit is contained in:
commit
46ad1987b9
4 changed files with 5 additions and 4 deletions
|
@ -104,6 +104,7 @@ in
|
||||||
StateDirectory = "photoprism";
|
StateDirectory = "photoprism";
|
||||||
WorkingDirectory = "/var/lib/photoprism";
|
WorkingDirectory = "/var/lib/photoprism";
|
||||||
RuntimeDirectory = "photoprism";
|
RuntimeDirectory = "photoprism";
|
||||||
|
ReadWritePaths = [ cfg.originalsPath cfg.importPath cfg.storagePath ];
|
||||||
|
|
||||||
LoadCredential = lib.optionalString (cfg.passwordFile != null)
|
LoadCredential = lib.optionalString (cfg.passwordFile != null)
|
||||||
"PHOTOPRISM_ADMIN_PASSWORD:${cfg.passwordFile}";
|
"PHOTOPRISM_ADMIN_PASSWORD:${cfg.passwordFile}";
|
||||||
|
|
|
@ -19,7 +19,7 @@ buildGoModule rec {
|
||||||
substituteInPlace internal/commands/passwd.go --replace '/bin/stty' "${coreutils}/bin/stty"
|
substituteInPlace internal/commands/passwd.go --replace '/bin/stty' "${coreutils}/bin/stty"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vendorHash = "sha256-SJjq2O7efqzzsg8I7n7pVqzG+jK0SsPT4J4iDdsMY4c=";
|
vendorHash = "sha256-mt2L5vf57/MntjtfJVua799nF4CkRYI8payLoPc0oQA=";
|
||||||
|
|
||||||
subPackages = [ "cmd/photoprism" ];
|
subPackages = [ "cmd/photoprism" ];
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{ pkgs, lib, stdenv, fetchFromGitHub, fetchzip, darktable, rawtherapee, ffmpeg, libheif, exiftool, imagemagick, makeWrapper, testers }:
|
{ pkgs, lib, stdenv, fetchFromGitHub, fetchzip, darktable, rawtherapee, ffmpeg, libheif, exiftool, imagemagick, makeWrapper, testers }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "231011-63f708417";
|
version = "231128-f48ff16ef";
|
||||||
pname = "photoprism";
|
pname = "photoprism";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-g/j+L++vb+wiE23d/lm6lga0MeaPrCotEojD9Sajkmg=";
|
hash = "sha256-gVxKa5JKGz5VSVCuJHat0DWCYaUH+9an6JsYUPe9muQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
libtensorflow = pkgs.callPackage ./libtensorflow.nix { };
|
libtensorflow = pkgs.callPackage ./libtensorflow.nix { };
|
||||||
|
|
|
@ -8,7 +8,7 @@ buildNpmPackage {
|
||||||
cd frontend
|
cd frontend
|
||||||
'';
|
'';
|
||||||
|
|
||||||
npmDepsHash = "sha256-v7G06x/6MAFlOPbmkdh9Yt9/0BcMSYXI5EUmIHKiVFo=";
|
npmDepsHash = "sha256-4bAWSSy7kvG1ChzEb2iuxgWxnkjtJlr7Lm7USbgsmAw=";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue