push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
{
lib,
stdenv,
fetchurl,
makeWrapper,
perlPackages,
}:
let
perlDeps = with perlPackages; [ TimeDate ];
in
stdenv.mkDerivation rec {
version = "3.20";
pname = "mb2md";
src = fetchurl {
url = "http://batleth.sapienti-sat.org/projects/mb2md/mb2md-${version}.pl.gz";
sha256 = "0bvkky3c90738h3skd2f1b2yy5xzhl25cbh9w2dy97rs86ssjidg";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perlPackages.perl ];
unpackPhase = ''
sourceRoot=.
gzip -d < $src > mb2md.pl
'';
installPhase = ''
install -D $sourceRoot/mb2md.pl $out/bin/mb2md
'';
postFixup = ''
wrapProgram $out/bin/mb2md \
--set PERL5LIB "${perlPackages.makePerlPath perlDeps}"
'';
meta = with lib; {
description = "mbox to maildir tool";
mainProgram = "mb2md";
license = licenses.publicDomain;
platforms = platforms.all;
maintainers = [ maintainers.jb55 ];
};
}

View File

@@ -0,0 +1,55 @@
{
stdenv,
lib,
fetchFromGitHub,
installShellFiles,
python3Packages,
versionCheckHook,
}:
python3Packages.buildPythonApplication rec {
pname = "mbake";
version = "1.4.1.pre";
pyproject = true;
src = fetchFromGitHub {
owner = "EbodShojaei";
repo = "bake";
tag = "v${version}";
hash = "sha256-HbBibwrd73GA0Z3xiYJAu1te7BADqsSkk0d99bMrwPw=";
};
build-system = [
installShellFiles
python3Packages.hatchling
];
dependencies = with python3Packages; [
rich
typer
];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd mbake \
--bash <($out/bin/mbake completions bash) \
--fish <($out/bin/mbake completions fish) \
--zsh <($out/bin/mbake completions zsh)
'';
nativeCheckInputs = [
python3Packages.pytestCheckHook
versionCheckHook
];
versionCheckProgramArg = "--version";
pythonImportsCheck = [ "mbake" ];
meta = {
description = "Makefile formatter and linter";
homepage = "https://github.com/EbodShojaei/bake";
changelog = "https://github.com/EbodShojaei/bake/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
mainProgram = "mbake";
maintainers = [ lib.maintainers.amadejkastelic ];
};
}

View File

@@ -0,0 +1,40 @@
{
lib,
python3Packages,
fetchPypi,
git,
mercurial,
}:
with python3Packages;
buildPythonApplication rec {
pname = "mbed-cli";
version = "1.10.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-X+hNVM8fsy0VFTqFr1pPKWRimacBenTcY4y+PBJpvlI=";
};
nativeCheckInputs = [
git
mercurial
pytest
];
checkPhase = ''
export GIT_COMMITTER_NAME=nixbld
export EMAIL=nixbld@localhost
export GIT_COMMITTER_DATE=$SOURCE_DATE_EPOCH
pytest test
'';
meta = with lib; {
homepage = "https://github.com/ARMmbed/mbed-cli";
description = "Arm Mbed Command Line Interface";
license = licenses.asl20;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,30 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
pname = "mbelib";
version = "1.3.0";
src = fetchFromGitHub {
owner = "szechyjs";
repo = "mbelib";
rev = "v${version}";
sha256 = "0v6b7nf8fgxy7vzgcwffqyql5zhldrz30c88k1ylbjp78hwh4rif";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
meta = with lib; {
description = "P25 Phase 1 and ProVoice vocoder";
homepage = "https://github.com/szechyjs/mbelib";
license = licenses.isc;
platforms = platforms.unix;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,44 @@
{
stdenv,
lib,
fetchFromGitHub,
meson,
ninja,
libev,
openssl,
}:
stdenv.mkDerivation {
pname = "mbidled";
version = "0-unstable-2023-09-30";
src = fetchFromGitHub {
owner = "zsugabubus";
repo = "mbidled";
rev = "c724a34cc01b829b19a60655fc1652a378db7f27";
sha256 = "sha256-XQXLPjEEesBd+bATsKE2nvoNcuqtRA1JIsV7306CssA=";
};
preConfigure = ''
export LIBRARY_PATH=${libev}/lib
'';
nativeBuildInputs = [
meson
ninja
];
buildInputs = [
libev
openssl
];
meta = with lib; {
description = "Run command on mailbox change";
homepage = "https://github.com/zsugabubus/mbidled";
license = licenses.unlicense;
maintainers = with maintainers; [ laalsaas ];
platforms = platforms.linux;
mainProgram = "mbidled";
};
}

View File

@@ -0,0 +1,78 @@
{
coreutils,
fetchFromGitHub,
file,
gawk,
gnugrep,
gnused,
installShellFiles,
lib,
libiconv,
makeWrapper,
stdenv,
ruby,
}:
stdenv.mkDerivation rec {
pname = "mblaze";
version = "1.3";
nativeBuildInputs = [
installShellFiles
makeWrapper
];
buildInputs = [
libiconv
ruby
];
src = fetchFromGitHub {
owner = "leahneukirchen";
repo = "mblaze";
rev = "v${version}";
sha256 = "sha256-398wiXJ/iG9ZfPGDZc57xH37lft3NpEZuLE0Qhb2GGc=";
};
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
postInstall = ''
installShellCompletion contrib/_mblaze
''
+ lib.optionalString (ruby != null) ''
install -Dt $out/bin contrib/msuck contrib/mblow
# The following wrappings are used to preserve the executable
# names (the value of $0 in a script). The script mcom is
# designed to be run directly or via symlinks such as mrep. Using
# symlinks changes the value of $0 in the script, and makes it
# behave differently. When using the wrapProgram tool, the resulting
# wrapper breaks this behaviour. The following wrappers preserve it.
mkdir -p $out/wrapped
for x in mcom mbnc mfwd mrep; do
mv $out/bin/$x $out/wrapped
makeWrapper $out/wrapped/$x $out/bin/$x \
--argv0 $out/bin/$x \
--prefix PATH : $out/bin \
--prefix PATH : ${
lib.makeBinPath [
coreutils
file
gawk
gnugrep
gnused
]
}
done
'';
meta = with lib; {
homepage = "https://github.com/leahneukirchen/mblaze";
description = "Unix utilities for processing and interacting with mail messages which are stored in maildir folders";
license = licenses.cc0;
platforms = platforms.all;
maintainers = [ maintainers.ajgrf ];
};
}

View File

@@ -0,0 +1,46 @@
{
stdenv,
lib,
fetchurl,
dpkg,
autoPatchelfHook,
}:
stdenv.mkDerivation rec {
pname = "mblock-mlink";
version = "1.2.0";
src = fetchurl {
url = "https://dl.makeblock.com/mblock5/linux/mLink-${version}-amd64.deb";
sha256 = "sha256-KLxj81ZjbEvhhaz0seNB4WXX5ybeZ7/WcT1dGfdWle0=";
};
unpackPhase = ''
${dpkg}/bin/dpkg -x $src $out
'';
buildInputs = [
(lib.getLib stdenv.cc.cc)
];
nativeBuildInputs = [
autoPatchelfHook
];
installPhase = ''
mv $out/usr/local/makeblock $out/usr/makeblock
rmdir $out/usr/local
mkdir -p $out/bin
echo $out/usr/makeblock/mLink/mnode $out/usr/makeblock/mLink/app.js > $out/bin/mlink
chmod +x $out/bin/mlink
'';
meta = with lib; {
description = "Driver for mBlock web version";
homepage = "https://mblock.makeblock.com/en-us/download/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.mausch ];
};
}

View File

@@ -0,0 +1,42 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
let
version = "0.13-unstable-2025-08-08";
rev = "499ae856f44e511b236660d9dce0021f758fc64e";
modulePath = "github.com/volkszaehler/mbmd";
in
buildGoModule {
pname = "mbmd";
inherit version;
src = fetchFromGitHub {
inherit rev;
owner = "volkszaehler";
repo = "mbmd";
hash = "sha256-HdldLF9+QgaIvGG8lAENvUiPonMwrdHUphGRSmaeRj8=";
};
tags = [ "release" ];
ldflags = [
"-s"
"-w"
"-X ${modulePath}/server.Version=${version}"
"-X ${modulePath}/server.Commit=${rev}"
];
vendorHash = "sha256-L816AQmyL6ZctKgImbU/cAYSQkQhxuhvtr4SyjPKMFs=";
env.CGO_ENABLED = 0; # NOTE: Pure Go
meta = with lib; {
description = "ModBus Measurement Daemon - simple reading of data from ModBus meters and grid inverters";
homepage = "https://github.com/volkszaehler/mbmd";
license = licenses.bsd3;
maintainers = with maintainers; [ tsandrini ];
mainProgram = "mbmd";
};
}

View File

@@ -0,0 +1,29 @@
{
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "mbpfan";
version = "2.4.0";
src = fetchFromGitHub {
owner = "dgraziotin";
repo = "mbpfan";
rev = "v${version}";
sha256 = "sha256-F9IWUcILOuLn5K4zRSU5jn+1Wk1xy0CONSI6JTXU2pA=";
};
installPhase = ''
mkdir -p $out/bin $out/etc
cp bin/mbpfan $out/bin
cp mbpfan.conf $out/etc
'';
meta = with lib; {
description = "Daemon that uses input from coretemp module and sets the fan speed using the applesmc module";
mainProgram = "mbpfan";
homepage = "https://github.com/dgraziotin/mbpfan";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,34 @@
{
lib,
stdenv,
cmake,
pkg-config,
fetchFromGitHub,
libmodbus,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mbpoll";
version = "1.5.2";
src = fetchFromGitHub {
owner = "epsilonrt";
repo = "mbpoll";
rev = "v${finalAttrs.version}";
hash = "sha256-rO3j/p7MABlxcwRAZm26u7wgODGFTtetSDhPWPzTuEA=";
};
buildInputs = [ libmodbus ];
nativeBuildInputs = [
cmake
pkg-config
];
meta = with lib; {
description = "Command line utility to communicate with ModBus slave (RTU or TCP)";
homepage = "https://epsilonrt.fr";
license = licenses.gpl3;
mainProgram = "mbpoll";
platforms = platforms.linux;
};
})

View File

@@ -0,0 +1,13 @@
--- a/configure.ac 2017-06-12 06:48:15.000000000 +0200
+++ b/configure.ac 2017-06-12 06:50:06.000000000 +0200
@@ -76,6 +76,10 @@
CXXFLAGS="$CXXFLAGS $ticcutils_CFLAGS"
LIBS="$LIBS $ticcutils_LIBS"
+PKG_CHECK_MODULES([libxml2], [libxml-2.0 >= 2.6.16] )
+CXXFLAGS="$CXXFLAGS $libxml2_CFLAGS"
+LIBS="$LIBS $libxml2_LIBS"
+
AC_CONFIG_FILES([
Makefile
mbt.pc

View File

@@ -0,0 +1,70 @@
{
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
autoreconfHook,
bzip2,
libtar,
libtool,
pkg-config,
autoconf-archive,
libxml2,
ticcutils,
timbl,
frog,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mbt";
version = "3.2.16";
src = fetchFromGitHub {
owner = "LanguageMachines";
repo = "mbt";
tag = "v${finalAttrs.version}";
hash = "sha256-O/LhLWgLwDctkRYjds+AM9fGMIRX3eCnJhRIXyVrJ04=";
};
nativeBuildInputs = [
pkg-config
autoreconfHook
];
buildInputs = [
bzip2
libtar
libtool
autoconf-archive
libxml2
ticcutils
timbl
];
patches = [ ./mbt-add-libxml2-dep.patch ];
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
tests = {
/**
Reverse dependencies. Does not respect overrides.
*/
reverseDependencies = lib.recurseIntoAttrs {
inherit frog;
};
};
};
meta = with lib; {
description = "Memory Based Tagger";
homepage = "https://languagemachines.github.io/mbt/";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ roberth ];
longDescription = ''
MBT is a memory-based tagger-generator and tagger in one. The tagger-generator part can generate a sequence tagger on the basis of a training set of tagged sequences; the tagger part can tag new sequences. MBT can, for instance, be used to generate part-of-speech taggers or chunkers for natural language processing. It has also been used for named-entity recognition, information extraction in domain-specific texts, and disfluency chunking in transcribed speech.
Mbt is used by Frog for Dutch tagging.
'';
};
})

View File

@@ -0,0 +1,28 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "mbtileserver";
version = "0.11.0";
src = fetchFromGitHub {
owner = "consbio";
repo = "mbtileserver";
rev = "v${version}";
sha256 = "sha256-RLaAhc24zdCFvpSN2LZXNyS1ygg9zCi4jEj8owdreWU=";
};
vendorHash = "sha256-yn7LcR/DvHDSRicUnWLrFZKqZti+YQoLSk3mZkDIj10=";
meta = {
description = "Simple Go-based server for map tiles stored in mbtiles format";
mainProgram = "mbtileserver";
homepage = "https://github.com/consbio/mbtileserver";
changelog = "https://github.com/consbio/mbtileserver/blob/v${version}/CHANGELOG.md";
license = lib.licenses.isc;
teams = [ lib.teams.geospatial ];
};
}

View File

@@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchurl,
openssl,
which,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mbuffer";
version = "20250809";
outputs = [
"out"
"man"
];
src = fetchurl {
url = "http://www.maier-komor.de/software/mbuffer/mbuffer-${finalAttrs.version}.tgz";
sha256 = "sha256-mGXa5CRSQ3oZrkSEZ4EKA6pG1PJeKZlettbU85xnzR4=";
};
buildInputs = [
openssl
];
nativeBuildInputs = [
which
];
nativeCheckInputs = [
openssl
];
doCheck = true;
strictDeps = true;
meta = {
description = "Tool for buffering data streams with a large set of unique features";
homepage = "https://www.maier-komor.de/mbuffer.html";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux; # Maybe other non-darwin Unix
mainProgram = "mbuffer";
};
})

View File

@@ -0,0 +1,34 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "mbusd";
version = "0.5.2";
src = fetchFromGitHub {
owner = "3cky";
repo = "mbusd";
rev = "v${version}";
hash = "sha256-RQRSqlbPwBhw0SiNSP+euMVAwVBJo3lx0qB5gyWA+cM=";
};
nativeBuildInputs = [
cmake
pkg-config
];
meta = {
description = "Modbus TCP to Modbus RTU (RS-232/485) gateway";
homepage = "https://github.com/3cky/mbusd";
changelog = "https://github.com/3cky/mbusd/blob/v${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ sikmir ];
platforms = lib.platforms.unix;
mainProgram = "mbusd";
};
}