blob: e9ce950fe4d1922c3c9e4c23fd048a8cd5bf7cdb (
plain) (
blame)
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
|
{
lib,
buildGoModule,
}:
buildGoModule rec {
pname = "fcuny.net";
version = "0.1.0"; # Consider deriving from git tags: version = builtins.substring 0 8 self.rev;
src = ../..;
vendorHash = "sha256-mpwboru/KBCJ8Fuy8kpicKgbmhHDlj7ZNXrfdIUkilg=";
subPackages = [ "app/fcuny-net" ];
ldflags = [
"-s"
"-w"
];
doCheck = false;
meta = with lib; {
description = "My personal website";
homepage = "https://code.fcuny.net/fcuny/x/app/fcuny-net";
license = licenses.mit;
maintainers = with maintainers; [ fcuny ];
platforms = platforms.unix;
mainProgram = "fcuny-net";
};
}
|