mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
Merge pull request #318807 from NixOS/backport-318762-to-release-24.05
[Backport release-24.05] ejsonkms: init at 0.2.2
This commit is contained in:
commit
845ca1d221
41
pkgs/by-name/ej/ejsonkms/package.nix
Normal file
41
pkgs/by-name/ej/ejsonkms/package.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
testers,
|
||||
ejsonkms,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ejsonkms";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "envato";
|
||||
repo = "ejsonkms";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-aHnxdEADrzaRld7G2owSHO/0xYXIa8EBBR+phdA4eRM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-aLcSCDgd3IGiUg/JAPNIV30tAh6tDYZnFnqzaLELXw0=";
|
||||
|
||||
ldflags = [
|
||||
"-X main.version=v${version}" "-s" "-w"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = ejsonkms;
|
||||
version = "v${version}";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integrates EJSON with AWS KMS";
|
||||
homepage = "https://github.com/envato/ejsonkms";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ viraptor ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue