depot/third_party/nixpkgs/pkgs/development/tools/dapr/cli/default.nix
Default email bba55970ba Project import generated by Copybara.
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
2021-04-05 17:23:46 +02:00

29 lines
645 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "dapr";
version = "1.0.1";
vendorSha256 = "13fb6fdjqrsl74569nh2l7x9w7w61bcvkksj410s2f85bicc29rf";
src = fetchFromGitHub {
sha256 = "15zz212sm83l6l7npislixxn23fg190b44bfxnrjrlyjbz370kch";
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 ];
};
}