main
1{
2 buildGoModule,
3 fetchgit,
4 lib,
5}:
6
7buildGoModule (finalAttrs: {
8 pname = "govanityurl";
9 version = "0.1.0";
10
11 src = fetchgit {
12 url = "https://git.sr.ht/~vdemeester/vanityurl";
13 rev = "v${finalAttrs.version}";
14 hash = "sha256-7AdNbbIcNSPRAi8u0+2b/Lscq4MFXci0+WeND8wZkhU=";
15 };
16 vendorHash = "sha256-qe7SxvrmgbcUnBUbUVx/l3hLZ1BRHZyDgi8tLtULCms=";
17
18 meta = {
19 description = "Go vanity URL server for custom import paths";
20 homepage = "https://git.sr.ht/~vdemeester/vanityurl";
21 license = lib.licenses.asl20;
22 maintainers = with lib.maintainers; [ vdemeester ];
23 platforms = lib.platforms.unix;
24 mainProgram = "govanityurl";
25 };
26})