1
0
Fork 0
pvv-nixos-config/pkgs/jackson/default.nix

33 lines
781 B
Nix
Raw Normal View History

2023-04-23 05:12:47 +02:00
{ lib, buildNpmPackage, fetchFromGitHub }:
buildNpmPackage rec {
pname = "jackson";
version = "1.9.6";
src = fetchFromGitHub {
owner = "boxyhq";
repo = pname;
rev = "v${version}";
hash = "sha256-iZKl2dBBEQLemHMSa6rXYAuCo02WhG/BcYKTmCm46hI=";
};
prePhase = ''
export HOME=$TMPDIR
'';
npmDepsHash = "sha256-pYGdbmfewdvVuNfuWLlj5TmxQGdQfqPZs6TXzttoHYo=";
# The prepack script runs the build script, which we'd rather do in the build phase.
npmFlags = [ "--loglevel silent" ];
#NODE_OPTIONS = "--openssl-legacy-provider";
meta = with lib; {
description = "Enterprise SSO made simple";
homepage = "https://github.com/boxyhq/jackson";
license = licenses.asl20;
maintainers = with maintainers; [ felixalbrigtsen ];
};
}