depot/third_party/nixpkgs/pkgs/development/tools/dapr/cli/default.nix
Default email 849ee4d900 Project import generated by Copybara.
GitOrigin-RevId: 9e377a6ce42dccd9b624ae4ce8f978dc892ba0e2
2021-04-08 18:26:57 +02:00

29 lines
645 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "dapr";
version = "1.1.0";
vendorSha256 = "0fng5a1pvpbwil79xapdalzgkgc9dwsdxs6bznjfwnkyd1vvw6fm";
src = fetchFromGitHub {
sha256 = "0x2mvlzlmcik6ys6xp722px9l4lj9ssyxb06bzxd7yj7m1wwcwp9";
owner = "dapr";
repo = "cli";
rev = "v${version}";
};
doCheck = false;
postInstall = ''
mv $out/bin/cli $out/bin/dapr
'';
meta = with lib; {
homepage = "https://dapr.io";
description = "A CLI for managing Dapr, the distributed application runtime";
license = licenses.mit;
maintainers = with maintainers; [ lucperkins ];
};
}