summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/st/stackblur-go/package.nix
blob: 9ca9dd3757fe2dba99dba27b1303ca9644237e34 (plain)
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
31
32
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule (finalAttrs: {
  pname = "stackblur-go";
  version = "1.1.1";

  src = fetchFromGitHub {
    owner = "esimov";
    repo = "stackblur-go";
    rev = "v${finalAttrs.version}";
    hash = "sha256-PGYMqpk98bGJSZbyYBcZBqaPS3syfYSOymq33C+DxNM=";
  };

  vendorHash = null;

  ldflags = [
    "-s"
    "-w"
  ];

  meta = {
    description = "Fast, almost Gaussian Blur implementation in Go";
    homepage = "https://github.com/esimov/stackblur-go";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sodiboo ];
    mainProgram = "stackblur";
  };
})