blob: 89b0bc4d8b8d05acfefc224240f994bab4218cdd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "microplane";
version = "0.0.32";
src = fetchFromGitHub {
owner = "Clever";
repo = "microplane";
rev = "v${version}";
sha256 = "sha256-QYii/UmYus5hloTUsbVKsw50bSfI4bArUgGzFSK8Cas=";
};
vendorSha256 = "sha256-1XtpoGqQ//2ccJdl8E7jnSBQhYoA4/YVBbHeI+OfaR0=";
buildFlagsArray = ''
-ldflags=-s -w -X main.version=${version}
'';
postInstall = ''
ln -s $out/bin/microplane $out/bin/mp
'';
meta = with lib; {
description = "A CLI tool to make git changes across many repos";
homepage = "https://github.com/Clever/microplane";
license = licenses.asl20;
maintainers = with maintainers; [ dbirks ];
};
}
|