photoprism: 251130-b3068414c -> 260601-a7d098548
This commit is contained in:
@@ -48,7 +48,7 @@ buildGoModule {
|
||||
substituteInPlace internal/commands/passwd.go --replace-fail '/bin/stty' "${coreutils}/bin/stty"
|
||||
'';
|
||||
|
||||
vendorHash = "sha256-nOytOKceVuRryixDxx791my0JkdLPfyYdK6dAUG4CQc=";
|
||||
vendorHash = "sha256-mF07Lz61IIvUi4SLIMkMlKMH9zm6Zrp/KAdutl+mUzI=";
|
||||
|
||||
subPackages = [ "cmd/photoprism" ];
|
||||
|
||||
|
||||
@@ -9,21 +9,15 @@ buildNpmPackage {
|
||||
inherit src version;
|
||||
pname = "photoprism-frontend";
|
||||
|
||||
postPatch = ''
|
||||
cd frontend
|
||||
'';
|
||||
npmDepsHash = "sha256-HBzul2fyISwOqf8w92yt0friMnLhMmvKPm8yI2I3ngE=";
|
||||
|
||||
npmDepsHash = "sha256-RjPTtIm1BhyeQLUN9mWI+sXakNju4up0FbrdwZzkTS0=";
|
||||
|
||||
# Some dependencies are fetched from git repositories
|
||||
forceGitDeps = true;
|
||||
makeCacheWritable = true;
|
||||
npmWorkspace = "frontend";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
cp -r ../assets $out/
|
||||
cp -r assets $out/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "251130-b3068414c";
|
||||
version = "260601-a7d098548";
|
||||
pname = "photoprism";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "photoprism";
|
||||
repo = "photoprism";
|
||||
rev = version;
|
||||
hash = "sha256-8yg5CtvBtSKRaOUj9f+Db7rruXIVuF2cR50vZ+WUU6A=";
|
||||
hash = "sha256-6zE9bqHFF9ifcqbvA0yjSF69+BA/M2U6ABnPta4dpl4=";
|
||||
};
|
||||
|
||||
backend = callPackage ./backend.nix { inherit src version; };
|
||||
|
||||
Reference in New Issue
Block a user