add zerotier-members script

This commit is contained in:
Jörg Thalheim
2023-09-29 10:51:38 +02:00
parent 0cbedbdea4
commit 7bef76f542
4 changed files with 100 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{ stdenv, python3, lib }:
stdenv.mkDerivation {
name = "zerotier-members";
src = ./.;
buildInputs = [ python3 ];
installPhase = ''
install -Dm755 ${./zerotier-members.py} $out/bin/zerotier-members
'';
meta = with lib; {
description = "A tool to list/allow members of a ZeroTier network";
license = licenses.mit;
};
}