mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-14 11:20:12 +00:00
32 lines
627 B
Nix
32 lines
627 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "ejson";
|
|
version = "1.5.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Shopify";
|
|
repo = "ejson";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-t0IjL+gB1bfHwS1eoMy/yKgayswECxpXyK8xq6iGMCg=";
|
|
};
|
|
|
|
vendorHash = "sha256-vT9A4d+e+iOie5TNbu5EyPi5OZJ/m8Not3tCQc7Xwn8=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = {
|
|
description = "Small library to manage encrypted secrets using asymmetric encryption";
|
|
mainProgram = "ejson";
|
|
license = lib.licenses.mit;
|
|
homepage = "https://github.com/Shopify/ejson";
|
|
};
|
|
})
|