Skip to content

Commit

Permalink
photoprism: 221118-e58fee0fb -> 230506-9de9a3540
Browse files Browse the repository at this point in the history
  • Loading branch information
gregod committed May 9, 2023
1 parent 67486d9 commit 927ddde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkgs/servers/photoprism/backend.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildGoModule rec {
substituteInPlace internal/commands/passwd.go --replace '/bin/stty' "${coreutils}/bin/stty"
'';

vendorSha256 = "sha256-59ZwijPCcmhMPeh7v8EdqzraqRx+HhK6VnUk0JvAbbU=";
vendorSha256 = "sha256-OyHescVn73kNF+Ji07Ea+pQC+IRx8/ywb/RjfLHH84k=";

subPackages = [ "cmd/photoprism" ];

Expand Down
7 changes: 4 additions & 3 deletions pkgs/servers/photoprism/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{ pkgs, lib, stdenv, fetchFromGitHub, fetchzip, darktable, rawtherapee, ffmpeg, libheif, exiftool, makeWrapper, testers }:
{ pkgs, lib, stdenv, fetchFromGitHub, fetchzip, darktable, rawtherapee, ffmpeg, imagemagick, libheif, exiftool, makeWrapper, testers }:

let
version = "221118-e58fee0fb";
version = "230506-9de9a3540";
pname = "photoprism";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "sha256-Bx9SJLK97uZ/k09LIj8dHwmRetg6krI5iO7mtojV3PU=";
sha256 = "sha256-I7ff+AkQaPTyanEpVpQhCe1LDXdoF1LZl4j6jsPsweg=";
};

libtensorflow = pkgs.callPackage ./libtensorflow.nix { };
Expand Down Expand Up @@ -62,6 +62,7 @@ stdenv.mkDerivation {
--set PHOTOPRISM_RAWTHERAPEE_BIN ${rawtherapee}/bin/rawtherapee-cli \
--set PHOTOPRISM_HEIFCONVERT_BIN ${libheif}/bin/heif-convert \
--set PHOTOPRISM_FFMPEG_BIN ${ffmpeg}/bin/ffmpeg \
--set PHOTOPRISM_IMAGEMAGICK_BIN ${imagemagick}/bin/convert \
--set PHOTOPRISM_EXIFTOOL_BIN ${exiftool}/bin/exiftool
# install frontend
Expand Down
2 changes: 1 addition & 1 deletion pkgs/servers/photoprism/frontend.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildNpmPackage {
cd frontend
'';

npmDepsHash = "sha256-NAtZ85WjiQn9w0B9Y78XL+tSsshHlaXS8+WtojFJmGg";
npmDepsHash = "sha256-gjUt2jdk3EI+VEe10tG76J5FGKFbHwb9g0Uy8ovU99w=";

installPhase = ''
runHook preInstall
Expand Down

0 comments on commit 927ddde

Please sign in to comment.