nixpkgs-suyu/pkgs/development/tools/dapr/cli/default.nix

30 lines
645 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2020-08-06 02:43:45 +02:00
2021-04-02 15:44:54 +02:00
buildGoModule rec {
2020-08-06 02:43:45 +02:00
pname = "dapr";
2021-04-05 17:13:28 +02:00
version = "1.1.0";
2021-04-02 15:44:54 +02:00
2021-04-05 17:13:28 +02:00
vendorSha256 = "0fng5a1pvpbwil79xapdalzgkgc9dwsdxs6bznjfwnkyd1vvw6fm";
2020-08-06 02:43:45 +02:00
src = fetchFromGitHub {
2021-04-05 17:13:28 +02:00
sha256 = "0x2mvlzlmcik6ys6xp722px9l4lj9ssyxb06bzxd7yj7m1wwcwp9";
2020-08-06 02:43:45 +02:00
owner = "dapr";
repo = "cli";
rev = "v${version}";
};
2020-08-16 02:23:57 +02:00
doCheck = false;
2020-08-06 02:43:45 +02:00
postInstall = ''
mv $out/bin/cli $out/bin/dapr
'';
meta = with lib; {
2020-08-06 02:43:45 +02:00
homepage = "https://dapr.io";
description = "A CLI for managing Dapr, the distributed application runtime";
license = licenses.mit;
maintainers = with maintainers; [ lucperkins ];
};
}