many changes i made in the last weeks

This commit is contained in:
Sebastian Moser
2026-07-31 00:51:01 +02:00
parent 5b895c54dc
commit 180af16d35
64 changed files with 11633 additions and 1364 deletions

25
mods/nurPkgs/mcping.nix Normal file
View File

@@ -0,0 +1,25 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation rec {
pname = "mcping";
version = "1.2.0";
src = pkgs.fetchFromGitHub {
owner = "theodik";
repo = "mcping";
rev = "v${version}";
sha256 = "sha256-miCRVDyyNM9MITnHdYZYpYpvKWx5n8ZvzNF9zvpZt9k=";
};
buildPhase = ''
gcc mcping.c -o mcping
mkdir -p $out/bin
cp mcping $out/bin/
'';
meta = with pkgs.lib; {
description = "A simple C program to ping Minecraft servers";
license = licenses.mit;
platforms = platforms.all;
};
}