mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
323c6e34c4
Dependency updates, new available automatic tags and various smaller updates. Changelog: https://github.com/photoprism/photoprism/releases/tag/230615-90a18f6e7
29 lines
540 B
Nix
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 ];
|
|
};
|
|
}
|