commit
de93b48a79
2 changed files with 42 additions and 0 deletions
38
pkgs/development/tools/rain/default.nix
Normal file
38
pkgs/development/tools/rain/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
, rain
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "rain";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws-cloudformation";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-6YKZy6sdy1Yi2cDaLMA54GBTZ9uPhYi5Cq5QqCGbD5k=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-e3R8+xarofbx3Ky6JIfDbysTQETCUaQj/QmzAiU7fZk=";
|
||||
|
||||
subPackages = [ "cmd/rain" ];
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = rain;
|
||||
command = "rain --version";
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A development workflow tool for working with AWS CloudFormation";
|
||||
homepage = "https://github.com/aws-cloudformation/rain";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ jiegec ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -10158,6 +10158,10 @@ with pkgs;
|
|||
|
||||
radvd = callPackage ../tools/networking/radvd { };
|
||||
|
||||
rain = callPackage ../development/tools/rain {
|
||||
buildGoModule = buildGo117Module;
|
||||
};
|
||||
|
||||
rainbowstream = with python3.pkgs; toPythonApplication rainbowstream;
|
||||
|
||||
rambox = callPackage ../applications/networking/instant-messengers/rambox { };
|
||||
|
|
Loading…
Reference in a new issue