mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
614af05b77
https://github.com/photoprism/photoprism/releases/tag/240523-923ee0cf7 https://github.com/photoprism/photoprism/releases/tag/240528-977d6c0de https://github.com/photoprism/photoprism/releases/tag/240531-60b3a4628 https://github.com/photoprism/photoprism/releases/tag/240711-2197af848
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-y2Mj0sJP2urTDrsVPReVFi7G9fLjuKz76vDPLvkaMFA=";
|
|
|
|
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 ];
|
|
};
|
|
}
|