package meshnamed

This commit is contained in:
Jörg Thalheim
2023-11-08 14:32:33 +01:00
parent 94bc308bb0
commit c796bc4a8b
2 changed files with 31 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
inherit (config.packages) tea-create-pr;
};
nix-unit = pkgs.callPackage ./nix-unit { };
meshname = pkgs.callPackage ./meshname { };
inherit (pkgs.callPackages ./node-packages { }) prettier-plugin-tailwindcss;
};
};

30
pkgs/meshname/default.nix Normal file
View File

@@ -0,0 +1,30 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule {
pname = "meshname";
version = "unstable-2023-11-08";
src = fetchFromGitHub {
owner = "Mic92";
repo = "meshname";
rev = "b3c0ec1cafcb91ae7801b139777ff5ffad4c8fed";
hash = "sha256-uPon66nc5vw2QbbrNPXcCkO7T0l0foYovyR1adL9JBg=";
};
subPackages = [ "cmd/meshnamed" ];
vendorHash = "sha256-kiNxB2R3Z6Z/Resr3r4jKCImVhyoOY55dEiV+JRUjDk=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Meshname, a universal naming system for all IPv6-based mesh networks, including CJDNS and Yggdrasil";
homepage = "https://github.com/Mic92/meshname";
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
mainProgram = "meshnamed";
};
}