mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
commit
de93b48a79
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 New Issue
Block a user