nix: modernize
This commit is contained in:
parent
514eb6617e
commit
0e6979f684
5 changed files with 48 additions and 39 deletions
|
@ -1,11 +1,22 @@
|
|||
{buildGoModule}:
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
}:
|
||||
buildGoModule {
|
||||
pname = "Batmon";
|
||||
version = "0.1.0";
|
||||
|
||||
src = ../.;
|
||||
src = builtins.path {
|
||||
path = ../.;
|
||||
name = "batmon-src";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
ldflags = ["-s" "-w"];
|
||||
|
||||
meta = {
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = [lib.maintainers.NotAShelf];
|
||||
mainProgram = "batmon";
|
||||
};
|
||||
}
|
||||
|
|
Reference in a new issue