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,46 @@
{
lib,
fetchFromGitHub,
stdenvNoCC,
nix-update-script,
}:
stdenvNoCC.mkDerivation {
pname = "jp-zip-code";
version = "0-unstable-2025-10-01";
# This package uses a mirror as the source because the
# original provider uses the same URL for updated content.
src = fetchFromGitHub {
owner = "musjj";
repo = "jp-zip-codes";
rev = "9464f58fe654ada94f6f53e5338b5fb2b15e314a";
hash = "sha256-G+uCQPW2e/DEAvAx3TYvPt0Dl2rM77WUmuPJ17voxUE=";
};
installPhase = ''
runHook preInstall
install -Dt $out ken_all.zip
install -Dt $out jigyosyo.zip
runHook postInstall
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version"
"branch"
];
};
meta = {
description = "Zip files containing japanese zip codes";
longDescription = "Zip files with japanese zip codes for japanese IME dictionaries";
homepage = "https://github.com/musjj/jp-zip-codes";
license = lib.licenses.publicDomain;
maintainers = with lib.maintainers; [ pineapplehunter ];
platforms = lib.platforms.all;
# this does not need to be separately built
# it only provides some zip files
hydraPlatforms = [ ];
};
}

View File

@@ -0,0 +1,27 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "jp";
version = "0.2.1";
src = fetchFromGitHub {
rev = version;
owner = "jmespath";
repo = "jp";
hash = "sha256-a3WvLAdUZk+Y+L+opPDMBvdN5x5B6nAi/lL8JHJG/gY=";
};
vendorHash = "sha256-K6ZNtART7tcVBH5myV6vKrKWfnwK8yTa6/KK4QLyr00=";
meta = with lib; {
description = "Command line interface to the JMESPath expression language for JSON";
mainProgram = "jp";
homepage = "https://github.com/jmespath/jp";
maintainers = with maintainers; [ cransom ];
license = licenses.asl20;
};
}

View File

@@ -0,0 +1,55 @@
{
lib,
stdenv,
fetchFromGitHub,
libjpeg,
libpng,
ncurses,
autoreconfHook,
autoconf-archive,
pkg-config,
bash-completion,
libwebp,
libexif,
}:
stdenv.mkDerivation (finalAttrs: {
version = "1.3.2";
pname = "jp2a";
src = fetchFromGitHub {
owner = "Talinx";
repo = "jp2a";
tag = "v${finalAttrs.version}";
hash = "sha256-GcwwzVgF7BK2N8TL8z/7R7Ry1e9pmGiXUrOAQQmPIBo=";
};
makeFlags = [ "PREFIX=$(out)" ];
nativeBuildInputs = [
autoreconfHook
autoconf-archive
pkg-config
bash-completion
];
buildInputs = [
libjpeg
libpng
ncurses
libwebp
libexif
];
installFlags = [ "bashcompdir=\${out}/share/bash-completion/completions" ];
meta = {
broken = stdenv.hostPlatform.isDarwin;
homepage = "https://csl.name/jp2a/";
description = "Small utility that converts JPG images to ASCII";
license = lib.licenses.gpl2Only;
maintainers = [ lib.maintainers.FlorianFranzen ];
platforms = lib.platforms.unix;
mainProgram = "jp2a";
};
})

View File

@@ -0,0 +1,28 @@
{
lib,
stdenv,
fetchFromGitHub,
pcre2,
}:
stdenv.mkDerivation rec {
pname = "jpcre2";
version = "10.32.01";
rev = version;
src = fetchFromGitHub {
owner = "jpcre2";
repo = "jpcre2";
tag = version;
hash = "sha256-CizjxAiajDLqajZKizMRAk5UEZA+jDeBSldPyIb6Ic8=";
};
buildInputs = [ pcre2 ];
meta = with lib; {
homepage = "https://docs.neuzunix.com/jpcre2/latest/";
description = "C++ wrapper for PCRE2 Library";
platforms = lib.platforms.all;
license = licenses.bsd3;
};
}

View File

@@ -0,0 +1,57 @@
{
lib,
stdenv,
fetchFromGitHub,
mozjpeg,
makeWrapper,
coreutils,
parallel,
findutils,
}:
stdenv.mkDerivation {
pname = "jpeg-archive";
version = "2.2.0"; # can be found here https://github.com/danielgtaylor/jpeg-archive/blob/master/src/util.c#L15
# update with
# nix-prefetch-git https://github.com/danielgtaylor/jpeg-archive
src = fetchFromGitHub {
owner = "danielgtaylor";
repo = "jpeg-archive";
rev = "8da4bf76b6c3c0e11e4941294bfc1857c119419b";
sha256 = "1639y9qp2ls80fzimwmwds792q8rq5p6c14c0r4jswx4yp6dcs33";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ mozjpeg ];
prePatch = ''
# allow override LIBJPEG
substituteInPlace Makefile --replace 'LIBJPEG =' 'LIBJPEG ?='
'';
# Workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: src/util.o:(.bss+0x0): multiple definition of `progname'; /build/ccBZT2Za.o:(.bss+0x20): first defined here
# https://github.com/danielgtaylor/jpeg-archive/issues/119
env.NIX_CFLAGS_COMPILE = "-fcommon";
makeFlags = [
"CC=${stdenv.cc.targetPrefix}cc"
"PREFIX=$(out)"
"MOZJPEG_PREFIX=${mozjpeg}"
"LIBJPEG=${mozjpeg}/lib/libjpeg${stdenv.hostPlatform.extensions.sharedLibrary}"
];
postInstall = ''
wrapProgram $out/bin/jpeg-archive \
--set PATH "$out/bin:${coreutils}/bin:${parallel}/bin:${findutils}/bin"
'';
meta = with lib; {
description = "Utilities for archiving photos for saving to long term storage or serving over the web";
homepage = "https://github.com/danielgtaylor/jpeg-archive";
license = licenses.mit;
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,32 @@
{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation {
pname = "jpegexiforient";
version = "unstable-2002-02-17";
src = fetchurl {
url = "http://sylvana.net/jpegcrop/jpegexiforient.c";
sha256 = "1v0f42cvs0397g9v46p294ldgxwbp285npg6npgnlnvapk6nzh5s";
};
unpackPhase = ''
cp $src jpegexiforient.c
'';
buildPhase = ''
$CC -o jpegexiforient jpegexiforient.c
'';
installPhase = ''
install -Dt $out/bin jpegexiforient
'';
meta = with lib; {
description = "Utility program to get and set the Exif Orientation Tag";
homepage = "http://sylvana.net/jpegcrop/exif_orientation.html";
# Website doesn't mention any license, but I think it's safe to assume this
# to be free since it's from IJG, the current maintainers of libjpeg
license = licenses.free;
platforms = platforms.all;
maintainers = [ ];
mainProgram = "jpegexiforient";
};
}

View File

@@ -0,0 +1,27 @@
{
lib,
stdenv,
fetchurl,
libjpeg,
}:
stdenv.mkDerivation rec {
pname = "jpeginfo";
version = "1.7.1";
src = fetchurl {
url = "https://www.kokkonen.net/tjko/src/${pname}-${version}.tar.gz";
sha256 = "sha256-J09r4j/Qib2ehxW2dkOmbKL2OlAwKL3qPlcSKNULZp4=";
};
buildInputs = [ libjpeg ];
meta = with lib; {
description = "Prints information and tests integrity of JPEG/JFIF files";
homepage = "https://www.kokkonen.net/tjko/projects.html";
license = licenses.gpl2Plus;
maintainers = [ maintainers.bjornfor ];
platforms = platforms.all;
mainProgram = "jpeginfo";
};
}

View File

@@ -0,0 +1,32 @@
{
lib,
stdenv,
fetchFromGitHub,
libjpeg,
}:
stdenv.mkDerivation rec {
version = "1.5.6";
pname = "jpegoptim";
src = fetchFromGitHub {
owner = "tjko";
repo = "jpegoptim";
rev = "v${version}";
sha256 = "sha256-Nw9mz5zefkRwqkTIyBQyDlANHEx4dztiIiTuXUnuCKM=";
};
# There are no checks, it seems.
doCheck = false;
buildInputs = [ libjpeg ];
meta = with lib; {
description = "Optimize JPEG files";
homepage = "https://www.kokkonen.net/tjko/projects.html";
license = licenses.gpl3Plus;
maintainers = [ maintainers.aristid ];
platforms = platforms.all;
mainProgram = "jpegoptim";
};
}

View File

@@ -0,0 +1,55 @@
{
lib,
stdenv,
fetchFromGitHub,
makeWrapper,
perl,
perlPackages,
libjpeg_original,
}:
stdenv.mkDerivation {
pname = "jpegrescan";
version = "unstable-2019-03-27";
dontBuild = true;
dontConfigure = true;
src = fetchFromGitHub {
owner = "kud";
repo = "jpegrescan";
rev = "3a7de06feabeb3c3235c3decbe2557893c1abe51";
sha256 = "0cnl46z28lkqc5x27b8rpghvagahivrqcfvhzcsv9w1qs8qbd6dm";
};
patchPhase = ''
patchShebangs jpegrescan
'';
installPhase = ''
mkdir -p $out/share/jpegrescan
mv README.md $out/share/jpegrescan/
mkdir $out/bin
mv jpegrescan $out/bin
chmod +x $out/bin/jpegrescan
wrapProgram $out/bin/jpegrescan \
--prefix PATH : "${libjpeg_original}/bin:" \
--prefix PERL5LIB : $PERL5LIB
'';
propagatedBuildInputs = [ perlPackages.FileSlurp ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl ];
meta = with lib; {
description = "Losslessly shrink any JPEG file";
homepage = "https://github.com/kud/jpegrescan";
license = licenses.publicDomain;
maintainers = with maintainers; [ ramkromberg ];
platforms = platforms.all;
mainProgram = "jpegrescan";
};
}

View File

@@ -0,0 +1,69 @@
{
lib,
stdenv,
fetchzip,
makeWrapper,
makeDesktopItem,
jdk8,
}:
stdenv.mkDerivation rec {
pname = "jpexs";
version = "22.0.2";
src = fetchzip {
url = "https://github.com/jindrapetrik/jpexs-decompiler/releases/download/version${version}/ffdec_${version}.zip";
hash = "sha256-YgcUzJYGbC0KTfMg3eQFxQyyLtjmer3VkQmb6XrlCFY=";
stripRoot = false;
};
dontBuild = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
mkdir -p $out/share/{ffdec,icons/hicolor/512x512/apps}
cp ffdec.jar $out/share/ffdec
cp -r lib $out/share/ffdec
cp icon.png $out/share/icons/hicolor/512x512/apps/ffdec.png
cp -r ${desktopItem}/share/applications $out/share
makeWrapper ${jdk8}/bin/java $out/bin/ffdec \
--add-flags "-jar $out/share/ffdec/ffdec.jar"
'';
desktopItem = makeDesktopItem rec {
name = "ffdec";
exec = name;
icon = name;
desktopName = "JPEXS Free Flash Decompiler";
genericName = "Flash Decompiler";
comment = meta.description;
categories = [
"Development"
"Java"
];
startupWMClass = "com-jpexs-decompiler-flash-gui-Main";
};
meta = with lib; {
description = "Flash SWF decompiler and editor";
mainProgram = "ffdec";
longDescription = ''
Open-source Flash SWF decompiler and editor. Extract resources,
convert SWF to FLA, edit ActionScript, replace images, sounds,
texts or fonts.
'';
homepage = "https://github.com/jindrapetrik/jpexs-decompiler";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.gpl3;
platforms = jdk8.meta.platforms;
maintainers = with lib.maintainers; [
xrtxn
];
};
}

View File

@@ -0,0 +1,31 @@
diff --git a/configure.in b/configure.in
index 98055b7..fff401f 100644
--- a/configure.in
+++ b/configure.in
@@ -249,6 +249,11 @@ for pilot_libs in $pilot_prefix/lib /usr/lib /usr/local/lib/ /usr/local/lib64 \
PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
break
fi
+ if test -r "$pilot_libs/libpisock.dylib" ; then
+ pilotlibs=yes
+ PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
+ break
+ fi
done
fi
diff --git a/libsqlite.c b/libsqlite.c
index 9557956..cf0b5ed 100644
--- a/libsqlite.c
+++ b/libsqlite.c
@@ -3,10 +3,10 @@
Elmar Klausmeier, 20-Sep-2022: Initial revision
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
#include <time.h>
-extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) __THROW;
#include <sys/stat.h>
#include <sqlite3.h>

View File

@@ -0,0 +1,54 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
wrapGAppsHook3,
gtk3,
intltool,
libgcrypt,
pilot-link,
pkg-config,
sqlite,
}:
stdenv.mkDerivation rec {
pname = "jpilot";
version = "2.0.2";
src = fetchFromGitHub {
owner = "juddmon";
repo = "jpilot";
rev = "v${lib.replaceStrings [ "." ] [ "_" ] version}";
hash = "sha256-ja/P6kq53C7drEPWemGMV5fB4BktHrbrxL39jLEGhRI=";
};
patches = [ ./darwin-build.patch ]; # https://github.com/juddmon/jpilot/pull/59
nativeBuildInputs = [
autoreconfHook
intltool
pkg-config
wrapGAppsHook3
];
buildInputs = [
gtk3
libgcrypt
sqlite
];
preConfigure = ''
NOCONFIGURE=1 ./autogen.sh
'';
configureFlags = [ "--with-pilot-prefix=${pilot-link}" ];
meta = {
description = "Desktop organizer software for the Palm Pilot";
homepage = "https://www.jpilot.org/";
license = lib.licenses.gpl2;
mainProgram = "jpilot";
maintainers = with lib.maintainers; [ PapayaJackal ];
};
}

View File

@@ -0,0 +1,130 @@
{
stdenv,
lib,
fetchurl,
makeWrapper,
makeDesktopItem,
copyDesktopItems,
_7zz,
jdk11,
}:
let
jdk = jdk11;
pname = "jprofiler";
version = "14.0.5";
nameApp = "JProfiler";
meta = {
description = "Java profiler for deep JVM analysis";
longDescription = ''
JProfiler bridges high-level analytics and low-level JVM data,
delivering unmatched insights to solve your toughest performance
problems, memory leaks, threading issues, and higher-level problems in
technologies like JDBC, JPA, and more.
'';
homepage = "https://www.ej-technologies.com/products/jprofiler/overview.html";
license = lib.licenses.unfree;
maintainers = [ ];
};
src =
if stdenv.hostPlatform.isLinux then
fetchurl {
url = "https://download.ej-technologies.com/jprofiler/jprofiler_linux_${
lib.replaceStrings [ "." ] [ "_" ] version
}.tar.gz";
hash = "sha256-S7e2WurDJ0ePzpMg0YK94Mn0eHfb8/jNmf0kYts2Y0M=";
}
else
fetchurl {
url = "https://download-gcdn.ej-technologies.com/jprofiler/jprofiler_macos_${
lib.replaceStrings [ "." ] [ "_" ] version
}.dmg";
hash = "sha256-HPGh+dRfLuQprpgnu8oFboHUB1xvFqPblJcowqgZ5KA=";
};
desktopItems = [
(makeDesktopItem {
name = pname;
exec = pname;
icon = pname;
comment = meta.description;
desktopName = nameApp;
genericName = "Java Profiler Tool";
categories = [ "Development" ];
})
];
linux = stdenv.mkDerivation {
inherit
pname
version
src
desktopItems
;
nativeBuildInputs = [
makeWrapper
copyDesktopItems
];
installPhase = ''
runHook preInstall
cp -r . $out
rm -f $out/bin/updater
rm -rf $out/bin/linux-ppc*
rm -rf $out/bin/linux-armhf
rm -rf $out/bin/linux-musl*
for f in $(find $out/bin -type f -executable); do
wrapProgram $f --set JAVA_HOME "${jdk.home}"
done
install -Dm644 "./.install4j/i4j_extf_7_1u09tly_16qtnph.png" \
"$out/share/icons/hicolor/scalable/apps/jprofiler.png"
runHook postInstall
'';
meta = meta // {
platforms = lib.platforms.linux;
};
};
darwin = stdenv.mkDerivation {
inherit pname version src;
nativeBuildInputs = [
makeWrapper
_7zz
];
unpackPhase = ''
runHook preUnpack
7zz x $src -x!JProfiler/\[\]
runHook postUnpack
'';
sourceRoot = nameApp;
installPhase = ''
runHook preInstall
mkdir -p $out/{Applications,bin}
cp -R ${nameApp}.app $out/Applications/
makeWrapper $out/Applications/${nameApp}.app/Contents/MacOS/JavaApplicationStub $out/bin/${pname}
runHook postInstall
'';
meta = meta // {
platforms = lib.platforms.darwin;
};
};
in
if stdenv.hostPlatform.isDarwin then darwin else linux

View File

@@ -0,0 +1,80 @@
{
lib,
stdenv,
fetchFromGitHub,
ant,
jdk8, # the build script wants JAVA 8 for compilation
jre, # version can be >= 8 (latest version by default)
makeWrapper,
makeDesktopItem,
copyDesktopItems,
stripJavaArchivesHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "jpsxdec";
version = "2.0";
src = fetchFromGitHub {
owner = "m35";
repo = "jpsxdec";
rev = "v${finalAttrs.version}";
hash = "sha256-PZOc5mpnUiUyydWyfZjWuPG4w+tRd6WLJ6YQMqu/95I=";
};
sourceRoot = "${finalAttrs.src.name}/jpsxdec";
nativeBuildInputs = [
ant
jdk8
makeWrapper
copyDesktopItems
stripJavaArchivesHook
];
buildPhase = ''
runHook preBuild
ant release
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/jpsxdec
mv _ant/release/{doc,*.jar} $out/share/jpsxdec
install -Dm644 src/jpsxdec/gui/icon48.png $out/share/pixmaps/jpsxdec.png
makeWrapper ${jre}/bin/java $out/bin/jpsxdec \
--add-flags "-jar $out/share/jpsxdec/jpsxdec.jar"
runHook postInstall
'';
desktopItems = [
(makeDesktopItem {
name = "jpsxdec";
exec = "jpsxdec";
icon = "jpsxdec";
desktopName = "jPSXdec";
comment = finalAttrs.meta.description;
categories = [
"AudioVideo"
"Utility"
];
})
];
meta = with lib; {
changelog = "https://github.com/m35/jpsxdec/blob/${finalAttrs.src.rev}/jpsxdec/doc/CHANGES.txt";
description = "Cross-platform PlayStation 1 audio and video converter";
homepage = "https://jpsxdec.blogspot.com/";
license = {
url = "https://raw.githubusercontent.com/m35/jpsxdec/${finalAttrs.src.rev}/.github/LICENSE.md";
free = true;
};
mainProgram = "jpsxdec";
maintainers = with maintainers; [ zane ];
platforms = platforms.all;
};
})