blob: 10652ffcbf346432cefcf37fad860b2b79a27682 (
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
|
{ pkgs, ... }:
pkgs.buildGoModule rec {
name = "govanity";
src = ./.;
vendorSha256 = "sha256-iu2QE+vvenFWpOOz1NHVQHudiWkvkKqZvD4ZX4Xa1sY=";
nativeBuildInputs = with pkgs; [ go ];
deploy = pkgs.pkgs.writeShellScriptBin "run-deploy" ''
set -euxo pipefail
export PATH=${
pkgs.lib.makeBinPath [ pkgs.go pkgs.git pkgs.jq pkgs.flyctl ]
}:$PATH
bash ./scripts/deploy.sh
'';
meta = with pkgs.lib; {
description = "simple server for golang packages";
homepage = "https://golang.fcuny.net";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ ];
};
}
|