mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
f548f73410
https://github.com/photoprism/photoprism/releases/tag/230923-e59851350 https://github.com/photoprism/photoprism/releases/tag/231011-63f708417
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-v7G06x/6MAFlOPbmkdh9Yt9/0BcMSYXI5EUmIHKiVFo=";
|
|
|
|
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 ];
|
|
};
|
|
}
|