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,37 @@
{
lib,
stdenv,
fetchFromGitHub,
libX11,
libXrandr,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "yeahconsole";
version = "0.1.3";
src = fetchFromGitHub {
owner = "jceb";
repo = "yeahconsole";
tag = "v${finalAttrs.version}";
hash = "sha256-Ea6erNF9hEhDHlWLctu1SHFVoXXXsPeWUbvCBSZwn4s=";
};
buildInputs = [
libX11
libXrandr
];
preConfigure = ''
sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" Makefile
'';
meta = {
description = "Turns an xterm into a gamelike console";
homepage = "https://github.com/jceb/yeahconsole";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ jceb ];
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isDarwin;
};
})

View File

@@ -0,0 +1,55 @@
{
lib,
stdenv,
fetchzip,
makeWrapper,
unzip,
jre,
wrapGAppsHook3,
}:
stdenv.mkDerivation {
pname = "yEd";
version = "3.25.1";
# nixpkgs-update: no auto update
src = fetchzip {
# to update: archive https://www.yworks.com/resources/yed/demo/yEd-${version}.zip
url = "https://web.archive.org/web/20250322075239/https://www.yworks.com/resources/yed/demo/yEd-3.25.1.zip";
sha256 = "sha256-CDciM2IW+nocbFMVmTXMWh2eYcDAMZ+lxsg/Rb7KRgo=";
};
nativeBuildInputs = [
makeWrapper
unzip
wrapGAppsHook3
];
# For wrapGAppsHook3 setup hook
buildInputs = [ (jre.gtk3 or null) ];
dontConfigure = true;
dontBuild = true;
dontInstall = true;
preFixup = ''
mkdir -p $out/yed
cp -r * $out/yed
mkdir -p $out/bin
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
makeWrapper ${jre}/bin/java $out/bin/yed \
''${makeWrapperArgs[@]} \
--add-flags "-jar $out/yed/yed.jar --"
'';
dontWrapGApps = true;
meta = {
license = lib.licenses.unfree;
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
homepage = "https://www.yworks.com/products/yed";
description = "Powerful desktop application that can be used to quickly and effectively generate high-quality diagrams";
platforms = jre.meta.platforms;
maintainers = [ ];
mainProgram = "yed";
};
}

View File

@@ -0,0 +1,46 @@
{
buildGoModule,
fetchFromGitHub,
fetchpatch,
lib,
}:
buildGoModule rec {
pname = "yeetgif";
version = "1.23.6";
src = fetchFromGitHub {
owner = "sgreben";
repo = "yeetgif";
rev = version;
hash = "sha256-Z05GhtEPj3PLXpjF1wK8+pNUY3oDjbwZWQsYlTX14Rc=";
};
deleteVendor = true;
vendorHash = "sha256-LhkOMCuYO4GHezk21SlI2dP1UPmBp4bv2SdNbUQMKsI=";
patches = [
# Add Go Modules support
(fetchpatch {
url = "https://github.com/sgreben/yeetgif/commit/5d2067b9832898c2b1ac51bf6a5f107619038270.patch";
hash = "sha256-3eyqbpPyuQHjAN5mjQyZo0xY6L683T5Ytyx02II/iU4=";
})
];
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "GIF effects CLI";
homepage = "https://github.com/sgreben/yeetgif";
license = with licenses; [
mit
asl20
cc-by-nc-sa-40
];
maintainers = with maintainers; [ ajs124 ];
mainProgram = "gif";
};
}

View File

@@ -0,0 +1,62 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
nix-update-script,
versionCheckHook,
}:
let
version = "0.21.0";
in
rustPlatform.buildRustPackage {
pname = "yek";
version = version;
src = fetchFromGitHub {
owner = "bodo-run";
repo = "yek";
tag = "v${version}";
hash = "sha256-GAG5SCcxWL0JbngE2oOadVhOt2ppep6rIbYjIF2y3jI=";
};
cargoHash = "sha256-uShKrH4fdLDJX4ZX0TWXCyFctEH0C98B/STY9j6aH8A=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
env.OPENSSL_NO_VENDOR = 1;
checkFlags = [
# Tests with git fail
"--skip=e2e_tests::test_git_boost_config"
"--skip=e2e_tests::test_git_integration"
"--skip=lib_tests::test_serialize_repo_with_git"
"--skip=priority_tests::test_get_recent_commit_times_empty_repo"
"--skip=priority_tests::test_get_recent_commit_times_with_git"
"--skip=priority_tests::test_get_recent_commit_times_git_failure"
];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
# error: linker `aarch64-linux-gnu-gcc` not found
postPatch = ''
rm .cargo/config.toml
'';
meta = {
description = "Serialize text files for LLM consumption";
longDescription = ''
Tool to read text-based files, chunk them, and serialize them for LLM consumption.
'';
homepage = "https://github.com/bodo-run/yek";
changelog = "https://github.com/bodo-run/yek/releases/tag/v${version}";
license = lib.licenses.mit;
mainProgram = "yek";
maintainers = with lib.maintainers; [ louis-thevenet ];
};
}

View File

@@ -0,0 +1,64 @@
{
lib,
fetchurl,
libxml2,
libxslt,
itstool,
gnome,
pkg-config,
meson,
ninja,
python3,
yelp-xsl,
}:
python3.pkgs.buildPythonApplication rec {
pname = "yelp-tools";
version = "42.1";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/yelp-tools/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "PklqQCDUFFuZ/VCKJfoJM2pQOk6JAAKEIecsaksR+QU=";
};
nativeBuildInputs = [
pkg-config
meson
ninja
];
propagatedBuildInputs = [
libxml2 # xmllint required by yelp-check.
libxslt # xsltproc required by yelp-build and yelp-check.
];
buildInputs = [
itstool # build script checks for its presence but I am not sure if anything uses it
yelp-xsl
];
pythonPath = [
python3.pkgs.lxml
];
strictDeps = false; # TODO: Meson cannot find xmllint oherwise. Maybe add it to machine file?
doCheck = true;
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/yelp-tools";
description = "Small programs that help you create, edit, manage, and publish your Mallard or DocBook documentation";
maintainers = [ ];
teams = [ teams.gnome ];
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,62 @@
{
lib,
stdenv,
meson,
ninja,
gettext,
fetchurl,
pkg-config,
itstool,
libxml2,
libxslt,
gnome,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "yelp-xsl";
version = "42.4";
src = fetchurl {
url = "mirror://gnome/sources/yelp-xsl/${lib.versions.major finalAttrs.version}/yelp-xsl-${finalAttrs.version}.tar.xz";
hash = "sha256-/euwfrLman+3oNzmrYJIrSmku7E0uoKRKMoQT1ir19E=";
};
nativeBuildInputs = [
pkg-config
meson
ninja
gettext
itstool
libxml2
libxslt
];
doCheck = true;
postPatch = ''
patchShebangs \
xslt/common/domains/gen_yelp_xml.sh
'';
passthru = {
updateScript = gnome.updateScript {
packageName = "yelp-xsl";
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/yelp-xsl";
description = "Yelp's universal stylesheets for Mallard and DocBook";
teams = [ teams.gnome ];
license = with licenses; [
# See https://gitlab.gnome.org/GNOME/yelp-xsl/blob/master/COPYING
# Stylesheets
lgpl2Plus
# Icons, unclear: https://gitlab.gnome.org/GNOME/yelp-xsl/issues/25
gpl2
# highlight.js
bsd3
];
platforms = platforms.unix;
};
})

View File

@@ -0,0 +1,74 @@
{
stdenv,
lib,
fetchurl,
gettext,
itstool,
meson,
ninja,
pkg-config,
wrapGAppsHook3,
bzip2,
glib,
gtk3,
libhandy,
libxml2,
libxslt,
sqlite,
webkitgtk_4_1,
xz,
yelp-xsl,
gnome,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "yelp";
version = "42.3";
src = fetchurl {
url = "mirror://gnome/sources/yelp/${lib.versions.major finalAttrs.version}/yelp-${finalAttrs.version}.tar.xz";
hash = "sha256-JszEImeanmp6OqCD2Q/Ns0f18jAL4+AUMaMNDN0qiaM=";
};
nativeBuildInputs = [
gettext
itstool
meson
ninja
pkg-config
wrapGAppsHook3
];
buildInputs = [
bzip2
glib
gtk3
libhandy
libxml2
libxslt
sqlite
webkitgtk_4_1
xz
yelp-xsl
];
postPatch = ''
chmod +x src/link-gnome-help.sh data/domains/gen_yelp_xml.sh
patchShebangs src/link-gnome-help.sh
patchShebangs data/domains/gen_yelp_xml.sh
'';
passthru = {
updateScript = gnome.updateScript {
packageName = "yelp";
};
};
meta = {
homepage = "https://apps.gnome.org/Yelp/";
description = "Help viewer for GNOME";
teams = [ lib.teams.gnome ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
})

View File

@@ -0,0 +1,61 @@
{
stdenv,
lib,
fetchFromGitHub,
autoreconfHook,
pkg-config,
ncurses,
libpcap,
libnet,
# alpha version of GTK interface
withGtk ? false,
gtk2,
# enable remote admin interface
enableAdmin ? false,
}:
stdenv.mkDerivation {
pname = "yersinia";
version = "unstable-2022-11-20";
src = fetchFromGitHub {
owner = "tomac";
repo = "yersinia";
rev = "867b309eced9e02b63412855440cd4f5f7727431";
sha256 = "sha256-VShg9Nzd8dzUNiqYnKcDzRgqjwar/8XRGEJCJL25aR0=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libpcap
libnet
ncurses
]
++ lib.optional withGtk gtk2;
autoreconfPhase = "./autogen.sh";
configureFlags = [
"--with-pcap-includes=${libpcap}/include"
"--with-libnet-includes=${libnet}/include"
]
++ lib.optional (!enableAdmin) "--disable-admin"
++ lib.optional (!withGtk) "--disable-gtk";
makeFlags = [ "LDFLAGS=-lncurses" ];
meta = with lib; {
description = "Framework for layer 2 attacks";
mainProgram = "yersinia";
homepage = "https://github.com/tomac/yersinia";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ vdot0x23 ];
# INSTALL and FAQ in this package seem a little outdated
# so not sure, but it could work on openbsd, illumos, and freebsd
# if you have a machine to test with, feel free to add these
platforms = with platforms; linux;
};
}

View File

@@ -0,0 +1,30 @@
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "yeshup";
version = "0-unstable-2013-10-29";
src = fetchFromGitHub {
owner = "RhysU";
repo = "yeshup";
rev = "5461a8f957c686ccd0240be3f0fd8124d7381b08";
sha256 = "1wwbc158y46jsmdi1lp0m3dlbr9kvzvwxfvzj6646cpy9d6h21v9";
};
installPhase = ''
mkdir -p $out/bin
cp -v yeshup $out/bin
'';
meta = with lib; {
homepage = "https://github.com/RhysU/yeshup";
platforms = platforms.linux;
license = licenses.cc-by-sa-30; # From Stackoverflow answer
maintainers = with maintainers; [ obadz ];
mainProgram = "yeshup";
};
}

View File

@@ -0,0 +1,28 @@
{
stdenv,
fetchurl,
unzip,
}:
let
version = "4.4.2";
in
stdenv.mkDerivation {
pname = "yeswiki";
inherit version;
src = fetchurl {
url = "https://repository.yeswiki.net/doryphore/yeswiki-doryphore-${version}.zip";
hash = "sha256-TNiVBragEnLkMTu/Op6sCFsk9wWXUQ2GUPqmWgPV/vk=";
};
nativeBuildInputs = [
unzip
];
installPhase = ''
runHook preInstall
mkdir -p $out/
cp -R . $out/
runHook postInstall
'';
}

View File

@@ -0,0 +1,53 @@
{
lib,
stdenv,
fetchFromGitHub,
ncurses,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "yetris";
version = "2.3.0";
src = fetchFromGitHub {
owner = "alexdantas";
repo = "yetris";
tag = "v${finalAttrs.version}";
hash = "sha256-k9CXXIaDk1eAtRBEj0VCfE+D1FtmIDX3niubAdrfjqw=";
};
postPatch = ''
substituteInPlace src/Game/Entities/RotationSystemSRS.cpp \
--replace-fail 'char' 'signed char'
substituteInPlace src/Game/Entities/PieceDefinitions.cpp \
--replace-fail 'char' 'signed char'
substituteInPlace src/Game/Entities/PieceDefinitions.hpp \
--replace-fail 'char' 'signed char'
'';
buildInputs = [
ncurses
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"BINDIR=$(EXEC_PREFIX)/bin"
];
enableParallelBuilding = true;
nativeCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "Customizable Tetris(tm) for the terminal";
homepage = "https://alexdantas.github.io/yetris/";
downloadPage = "https://github.com/alexdantas/yetris";
changelog = "https://github.com/alexdantas/yetris/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
mainProgram = "yetris";
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
})

View File

@@ -0,0 +1,32 @@
{
lib,
rustfmt,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "yew-fmt";
version = "0.6.3";
src = fetchFromGitHub {
owner = "its-the-shrimp";
repo = "yew-fmt";
tag = "v${version}";
hash = "sha256-bhguDpLRn51NWL/N2CT9tsNS8+RbaL37liCBeUe0ZyY=";
};
cargoHash = "sha256-QcqpAWsMhTKTBV4kCKhG/9b+l3Kh6gj/o78/w6it+K8=";
nativeCheckInputs = [ rustfmt ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Code formatter for the Yew framework";
mainProgram = "yew-fmt";
homepage = "https://github.com/its-the-shrimp/yew-fmt";
changelog = "https://github.com/its-the-shrimp/yew-fmt/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dandedotdev ];
};
}

View File

@@ -0,0 +1,56 @@
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "yewtube";
version = "2.12.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "mps-youtube";
repo = "yewtube";
tag = "v${version}";
hash = "sha256-+V9t71Z8PKioM7HWlzTB6X7EokAWgqC3fQJr5tkPdq8=";
};
postPatch = ''
# Don't try to detect the version at runtime with pip
substituteInPlace mps_youtube/__init__.py \
--replace "from pip._vendor import pkg_resources" "" \
--replace "__version__ =" "__version__ = '${version}' #"
'';
propagatedBuildInputs = with python3Packages; [
pyperclip
requests
youtube-search-python
yt-dlp
pylast
];
checkInputs = with python3Packages; [
pytestCheckHook
dbus-python
pygobject3
];
preCheck = ''
export XDG_CONFIG_HOME=$(mktemp -d)
'';
pythonImportsCheck = [ "mps_youtube" ];
meta = with lib; {
description = "Terminal based YouTube player and downloader, forked from mps-youtube";
mainProgram = "yt";
homepage = "https://github.com/mps-youtube/yewtube";
license = licenses.gpl3Plus;
maintainers = with maintainers; [
fgaz
koral
];
};
}

View File

@@ -0,0 +1,28 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage {
pname = "yex-lang";
version = "0.pre+date=2022-05-10";
src = fetchFromGitHub {
owner = "nonamescm";
repo = "yex-lang";
rev = "866c4decbb9340f5af687b145e2c4f47fcbee786";
hash = "sha256-sxzkZ2Rhn3HvZIfjnJ6Z2au/l/jV5705ecs/X3Iah6k=";
};
cargoHash = "sha256-Kz/7BFBmTK8h6nO+jrSYh2p0GMlT1E0icmLXC+mJVmg=";
meta = with lib; {
homepage = "https://github.com/nonamescm/yex-lang";
description = "Functional scripting language written in rust";
license = licenses.mit;
maintainers = [ ];
mainProgram = "yex";
platforms = platforms.unix;
};
}