Skip to content

Commit 71d5dab

Browse files
authored
stackblur-go: init at 1.1.0 (#309117)
2 parents 63068ef + c824630 commit 71d5dab

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
}:
6+
7+
buildGoModule rec {
8+
pname = "stackblur-go";
9+
version = "1.1.0";
10+
11+
src = fetchFromGitHub {
12+
owner = "esimov";
13+
repo = "stackblur-go";
14+
rev = "v${version}";
15+
hash = "sha256-y1Fov81mholhz+bLRYl+G7jhzcsFS5TUjQ3SUntD8E0=";
16+
};
17+
18+
vendorHash = null;
19+
20+
postInstall = ''
21+
mv $out/bin/cmd $out/bin/stackblur
22+
'';
23+
24+
ldflags = [
25+
"-s"
26+
"-w"
27+
];
28+
29+
meta = {
30+
description = "Fast, almost Gaussian Blur implementation in Go";
31+
homepage = "https://github.com/esimov/stackblur-go";
32+
license = lib.licenses.mit;
33+
maintainers = with lib.maintainers; [ sodiboo ];
34+
mainProgram = "stackblur";
35+
};
36+
}

0 commit comments

Comments
 (0)