Files
nix-config/pkgs/ente-frontend/default.nix
2024-11-19 22:06:38 +00:00

24 lines
648 B
Nix

{ lib, buildNpmPackage, fetchFromGitHub, npm-lockfile-fix }:
buildNpmPackage rec {
pname = "ente-website";
version = "1.0.0";
src = "${(fetchGit {
url = "git@github.com:oberprofis/ente.git";
ref = "master";
rev = "42ccf9f7427d8007fce65526e9b9d0443115e476";
})}/website/tracker-site";
npmDepsHash = "sha256-fYTRhIU+8pdIm3wC5wJRcDUhgN3d+mmvfmVzuu0pjLQ=";
# The prepack script runs the build script, which we'd rather do in the build phase.
#npmPackFlags = [ "--ignore-scripts" ];
#npmFlags = [ "--legacy-peer-deps" ];
installPhase = ''
mkdir -p $out
ls .
cp -r ./dist/tracker-site/browser/* $out
'';
}