mirror of
https://github.com/NotAShelf/tct.git
synced 2025-10-02 06:53:54 +00:00
24 lines
420 B
Nix
24 lines
420 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
}: let
|
|
fs = lib.fileset;
|
|
s = ../.;
|
|
in
|
|
buildGoModule {
|
|
pname = "tct";
|
|
version = "0.1.0";
|
|
|
|
src = fs.toSource {
|
|
root = s;
|
|
fileset = fs.unions [
|
|
(fs.fileFilter (file: builtins.any file.hasExt ["go"]) s)
|
|
../go.mod
|
|
../go.sum
|
|
];
|
|
};
|
|
|
|
vendorHash = "sha256-m5mBubfbXXqXKsygF5j7cHEY+bXhAMcXUts5KBKoLzM=";
|
|
|
|
ldflags = ["-s" "-w"];
|
|
}
|