23 lines
469 B
Nix
23 lines
469 B
Nix
{ pkgs, ... }:
|
|
pkgs.buildGoModule rec {
|
|
pname = "jsonify";
|
|
version = "0.1.6";
|
|
|
|
src = fetchGit {
|
|
url = "git@github.com:sas-institute-rnd-internal/polaris-jsonify.git";
|
|
ref = "main";
|
|
rev = "7b8f8a0f0b3c1bbfb7f814c5a3dae5f696ca38e3";
|
|
};
|
|
|
|
preBuild = ''
|
|
rm -rf sage
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp "$GOPATH/bin/polaris-jsonify" $out/bin/jsonify
|
|
'';
|
|
|
|
vendorHash = "sha256-sJ3Jc7ZC+1s3m5nH6WtXsGVZfLEW7CZAcNtstUpc9M4=";
|
|
}
|