blob: 52b49628f16c86f64c2a1240bf65d01ebd85facb (
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
|
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "vanity-imports";
version = "0.0.13-unstable";
src = fetchFromGitHub {
owner = "alanpearce";
repo = "vanity-imports";
rev = "95d03037139c6e847d14a35f12496a6fbf2d4370";
hash = "sha256-YxCPxJqu/e9BK7iTrn4f6ymbwAlU+RHCneO743DeH/w=";
};
vendorHash = "sha256-w0LaXevbGm1xpHvKxxyubHCOVRN712UzLyOd+hVikKg=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Use a custom domain in your Go import path";
homepage = "https://github.com/mlcdf/vanity-imports";
license = licenses.mit;
maintainers = with maintainers; [ alanpearce ];
mainProgram = "vanity-imports";
};
}
|