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,50 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
doxygen,
}:
stdenv.mkDerivation {
pname = "ogdf";
version = "2023.09";
src = fetchFromGitHub {
owner = "ogdf";
repo = "ogdf";
tag = "elderberry-202309";
hash = "sha256-vnhPuMhz+pE4ExhRhjwHy4OilIkJ/kXc2LWU+9auY9k=";
};
nativeBuildInputs = [
cmake
doxygen
];
cmakeFlags = [
"-DCMAKE_CXX_FLAGS=-fPIC"
"-DBUILD_SHARED_LIBS=ON"
"-DOGDF_WARNING_ERRORS=OFF"
];
meta = {
description = "Open Graph Drawing Framework/Open Graph algorithms and Data structure Framework";
homepage = "http://www.ogdf.net";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.ianwookim ];
platforms = lib.platforms.all;
longDescription = ''
OGDF stands both for Open Graph Drawing Framework (the original name) and
Open Graph algorithms and Data structures Framework.
OGDF is a self-contained C++ library for graph algorithms, in particular
for (but not restricted to) automatic graph drawing. It offers sophisticated
algorithms and data structures to use within your own applications or
scientific projects.
OGDF is developed and supported by Osnabrück University, TU Dortmund,
University of Cologne, University of Konstanz, and TU Ilmenau.
'';
};
}

View File

@@ -0,0 +1,16 @@
diff --git a/internal/ogenversion/ogenversion.go b/internal/ogenversion/ogenversion.go
index 5db622d3..fe71f95e 100644
--- a/internal/ogenversion/ogenversion.go
+++ b/internal/ogenversion/ogenversion.go
@@ -17,9 +17,9 @@ var getOnce struct {
func getOgenVersion(m *debug.Module) (string, bool) {
if m == nil || m.Path != "github.com/ogen-go/ogen" {
- return "", false
+ return "1.4.1", true
}
- return m.Version, true
+ return "1.4.1", true
}
func getInfo() (Info, bool) {

View File

@@ -0,0 +1,35 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "ogen";
version = "1.14.0";
src = fetchFromGitHub {
owner = "ogen-go";
repo = "ogen";
tag = "v${version}";
hash = "sha256-w3h65MNXBgsH8PCHfoPqY+XNI6TMbLUAMI4Y3WWLEJM=";
};
vendorHash = "sha256-PQ2ZrigS9jZY1oL3Dsuc2RZwedZLzLKUqhMYfWiZ854=";
patches = [ ./modify-version-handling.patch ];
subPackages = [
"cmd/ogen"
"cmd/jschemagen"
];
meta = {
description = "OpenAPI v3 Code Generator for Go";
homepage = "https://github.com/ogen-go/ogen";
changelog = "https://github.com/ogen-go/ogen/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ seanrmurphy ];
mainProgram = "ogen";
};
}

View File

@@ -0,0 +1,77 @@
{
lib,
stdenv,
fetchurl,
fetchpatch,
cmake,
pkg-config,
boost,
gd,
libogg,
libtheora,
libvorbis,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "oggvideotools";
version = "0.9.1";
src = fetchurl {
url = "mirror://sourceforge/oggvideotools/oggvideotools/oggvideotools-${finalAttrs.version}/oggvideotools-${finalAttrs.version}.tar.bz2";
hash = "sha256-2dv3iXt86phhIgnYC5EnRzyX1u5ssNzPwrOP4+jilSM=";
};
patches = [
# Fix pending upstream inclusion for missing includes:
# https://sourceforge.net/p/oggvideotools/bugs/12/
(fetchpatch {
name = "gcc-10.patch";
url = "https://sourceforge.net/p/oggvideotools/bugs/12/attachment/fix-compile.patch";
hash = "sha256-mJttoC3jCLM3vmPhlyqh+W0ryp2RjJGIBXd6sJfLJA4=";
})
# Fix pending upstream inclusion for build failure on gcc-12:
# https://sourceforge.net/p/oggvideotools/bugs/13/
(fetchpatch {
name = "gcc-12.patch";
url = "https://sourceforge.net/p/oggvideotools/bugs/13/attachment/fix-gcc-12.patch";
hash = "sha256-zuDXe86djWkR8SgYZHkuAJJ7Lf2VYsVRBrlEaODtMKE=";
# svn patch, rely on prefix added by fetchpatch:
extraPrefix = "";
})
];
postPatch = ''
# Don't disable optimisations
substituteInPlace CMakeLists.txt --replace " -O0 " ""
'';
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
boost
gd
libogg
libtheora
libvorbis
];
cmakeFlags = [
# fix compatibility with CMake (https://cmake.org/cmake/help/v4.0/command/cmake_minimum_required.html)
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "4.0")
];
meta = {
description = "Toolbox for manipulating and creating Ogg video files";
homepage = "https://sourceforge.net/projects/oggvideotools/";
license = lib.licenses.gpl2Only;
maintainers = [ ];
# Compilation error on Darwin:
# error: invalid argument '--std=c++0x' not allowed with 'C'
# make[2]: *** [src/libresample/CMakeFiles/resample.dir/build.make:76: src/libresample/CMakeFiles/resample.dir/filterkit.c.o] Error 1
broken = stdenv.hostPlatform.isDarwin;
};
})

View File

@@ -0,0 +1,38 @@
{
lib,
stdenv,
fetchurl,
libogg,
libvorbis,
libdvdread,
}:
stdenv.mkDerivation rec {
pname = "ogmtools";
version = "1.5";
src = fetchurl {
url = "https://www.bunkus.org/videotools/ogmtools/ogmtools-${version}.tar.bz2";
sha256 = "1spx81p5wf59ksl3r3gvf78d77sh7gj8a6lw773iv67bphfivmn8";
};
buildInputs = [
libogg
libvorbis
libdvdread
];
env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
meta = {
description = "Tools for modifying and inspecting OGG media streams";
longDescription = ''
These tools allow information about (ogminfo) or extraction from
(ogmdemux) or creation of (ogmmerge) OGG media streams. Includes dvdxchap
tool for extracting chapter information from DVD.
'';
homepage = "https://www.bunkus.org/videotools/ogmtools/";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}

View File

@@ -0,0 +1,26 @@
{
fetchFromGitLab,
lib,
rustPlatform,
}:
rustPlatform.buildRustPackage {
pname = "ograc";
version = "0.1.6";
src = fetchFromGitLab {
owner = "lirnril";
repo = "ograc";
rev = "d09b3102ff7a364bf2593589327a16a473bd4f25";
hash = "sha256-vdHPFY6zZ/OBNlJO3N/6YXcvlddw2wYHgFWI0yfSgVo=";
};
cargoHash = "sha256-rWU8rOGLUrSkXLkHib8qkkiOZvuGbSJ4knFrHuD+R44=";
meta = with lib; {
description = "Like cargo, but backwards";
mainProgram = "ograc";
homepage = "https://crates.io/crates/ograc";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ sciencentistguy ];
};
}

View File

@@ -0,0 +1,48 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
meson,
ninja,
cairo,
gdk-pixbuf,
wayland,
wayland-protocols,
wayland-scanner,
}:
stdenv.mkDerivation {
pname = "oguri";
version = "0-unstable-2020-12-19";
src = fetchFromGitHub {
owner = "vilhalmer";
repo = "oguri";
rev = "6937fee10a9b0ef3ad8f94f606c0e0d9e7dec564";
sha256 = "sXNvpI/YPDPd2cXQAfRO4ut21gSCXxbo1DpaZmHJDYQ=";
};
strictDeps = true;
nativeBuildInputs = [
pkg-config
meson
ninja
wayland-scanner
];
buildInputs = [
cairo
gdk-pixbuf
wayland
wayland-protocols
];
meta = with lib; {
homepage = "https://github.com/vilhalmer/oguri/";
description = "Very nice animated wallpaper daemon for Wayland compositors";
license = licenses.mit;
maintainers = [ ];
inherit (wayland.meta) platforms;
broken = stdenv.hostPlatform.isDarwin; # this should be enfoced by wayland platforms in the future
};
}