3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #182351 from jiegec/rain

rain: init at 1.2.0
This commit is contained in:
Sebastián Mancilla 2022-08-12 12:05:30 -04:00 committed by GitHub
commit de93b48a79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View 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;
};
}

View file

@ -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 { };