3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/dapr/cli/default.nix

30 lines
645 B
Nix
Raw Normal View History

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