File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
pkgs/by-name/st/stackblur-go Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments