Standardize go project structure
This commit is contained in:
parent
b40a5dc91f
commit
addff0f3c1
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/reaction.db
|
/reaction.db
|
||||||
|
/result
|
||||||
|
18
default.nix
Normal file
18
default.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{ buildGoModule, fetchFromGitLab }:
|
||||||
|
let
|
||||||
|
pname = "reaction";
|
||||||
|
version = "v0.1";
|
||||||
|
in buildGoModule {
|
||||||
|
inherit pname version;
|
||||||
|
|
||||||
|
src = ./.;
|
||||||
|
# src = fetchFromGitLab {
|
||||||
|
# domain = "framagit.org";
|
||||||
|
# owner = "ppom";
|
||||||
|
# repo = pname;
|
||||||
|
# rev = version;
|
||||||
|
# sha256 = "sha256-45ytTNZIbTIUOPBgAdD7o9hyWlJo//izUhGe53PcwNA=";
|
||||||
|
# };
|
||||||
|
|
||||||
|
vendorHash = "sha256-g+yaVIx4jxpAQ/+WrGKxhVeliYx7nLQe/zsGpxV4Fn4=";
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user