blob: 84de0c5dd11d10edfa475750776bfa69e31fda98 (
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
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "cshatag";
version = "2.1.0";
src = fetchFromGitHub {
owner = "rfjakob";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Ez8zGVX10A7xuggkh3n7w/qzda8f4t6EgSc9l6SPEZQ=";
};
vendorHash = "sha256-QTnwltsoyUbH4vob5go1KBrb9gwxaaPNW3S4sxVls3k=";
ldflags = [ "-s" "-w" ];
postInstall = ''
# Install man page
install -D -m755 -t $out/share/man/man1/ cshatag.1
'';
meta = with lib; {
description = "A tool to detect silent data corruption";
homepage = "https://github.com/rfjakob/cshatag";
license = licenses.mit;
platforms = platforms.linux;
};
}
|