nixpkgs/pkgs/servers/photoprism/frontend.nix
Moritz 'e1mo' Fromm 323c6e34c4
photoprism: 230603-378d4746a -> 230615-90a18f6e7
Dependency updates, new available automatic tags and various smaller
updates.

Changelog: https://github.com/photoprism/photoprism/releases/tag/230615-90a18f6e7
2023-06-22 12:33:42 +02:00

29 lines
540 B
Nix

{ lib, buildNpmPackage, src, version }:
buildNpmPackage {
inherit src version;
pname = "photoprism-frontend";
postPatch = ''
cd frontend
'';
npmDepsHash = "sha256-YeQhX2s/pbGsiKPAnyfC530WtxkocdIcbl0abI6REZ4=";
installPhase = ''
runHook preInstall
mkdir $out
cp -r ../assets $out/
runHook postInstall
'';
meta = with lib; {
homepage = "https://photoprism.app";
description = "Photoprism's frontend";
license = licenses.agpl3Only;
maintainers = with maintainers; [ benesim ];
};
}