mirror of
https://github.com/NotAShelf/Echo.git
synced 2024-11-22 21:31:10 +00:00
24 lines
616 B
Nix
24 lines
616 B
Nix
{
|
|
buildGoModule,
|
|
lib,
|
|
...
|
|
}: let
|
|
pname = "echo";
|
|
version = "0.1.0";
|
|
in
|
|
buildGoModule {
|
|
inherit pname version;
|
|
src = builtins.filterSource (path: type: type != "directory" || baseNameOf path != ".git" || lib.hasSuffix ".nix" path) ./.;
|
|
vendorHash = null;
|
|
|
|
ldflags = ["-s" "-w" "-X main.version=${version}"];
|
|
|
|
meta = {
|
|
description = "Simple & lighweight mock server on localhost for testing.";
|
|
homepage = "https://github.com/notAShelf/echo";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [NotAShelf];
|
|
mainProgram = pname;
|
|
};
|
|
}
|