mirror of
https://github.com/NotAShelf/mdlinkt.git
synced 2025-10-02 23:13:33 +00:00
31 lines
600 B
Nix
31 lines
600 B
Nix
{
|
|
buildGoModule,
|
|
lib,
|
|
...
|
|
}: let
|
|
fs = lib.fileset;
|
|
in
|
|
buildGoModule {
|
|
pname = "mdlinkt";
|
|
version = "0.1.0";
|
|
|
|
src = fs.toSource {
|
|
root = ../.;
|
|
fileset = fs.unions [
|
|
../go.mod
|
|
../go.sum
|
|
../main.go
|
|
];
|
|
};
|
|
|
|
vendorHash = null;
|
|
ldflags = ["-s" "-w"];
|
|
|
|
meta = {
|
|
description = "CLI tool for checking for dead links in a markdown file";
|
|
homepage = "https://github.com/notashelf/mdlinkt";
|
|
license = lib.licenses.gpl3Only;
|
|
mainProgram = "mdlinkt";
|
|
maintainers = [lib.maintainers.NotAShelf];
|
|
};
|
|
}
|