nixpkgs/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-02 15:44:54 +02:00
version = "1.0.1";
vendorSha256 = "13fb6fdjqrsl74569nh2l7x9w7w61bcvkksj410s2f85bicc29rf";
2020-08-06 02:43:45 +02:00
src = fetchFromGitHub {
2021-04-02 15:44:54 +02:00
sha256 = "15zz212sm83l6l7npislixxn23fg190b44bfxnrjrlyjbz370kch";
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 ];
};
}