Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-04-26 18:01:11 +00:00 committed by GitHub
commit 4490401513
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
57 changed files with 503 additions and 399 deletions

View file

@ -11316,6 +11316,12 @@
githubId = 307899;
name = "Gurkan Gur";
};
serge = {
email = "sb@canva.com";
github = "serge-belov";
githubId = 38824235;
name = "Serge Belov";
};
sersorrel = {
email = "ash@sorrel.sh";
github = "sersorrel";

View file

@ -67,6 +67,18 @@ let
};
};
adpyke.codesnap = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "codesnap";
publisher = "adpyke";
version = "1.3.4";
sha256 = "sha256-dR6qODSTK377OJpmUqG9R85l1sf9fvJJACjrYhSRWgQ=";
};
meta = {
license = lib.licenses.mit;
};
};
alefragnani.project-manager = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "project-manager";

View file

@ -1,6 +1,7 @@
{ lib, fetchFromGitHub, cmake, curl, xorg, avahi, qtbase, mkDerivation,
openssl, wrapGAppsHook,
avahiWithLibdnssdCompat ? avahi.override { withLibdnssdCompat = true; }
avahiWithLibdnssdCompat ? avahi.override { withLibdnssdCompat = true; },
fetchpatch
}:
mkDerivation rec {
@ -15,6 +16,16 @@ mkDerivation rec {
fetchSubmodules = true;
};
patches = [
# This patch can be removed when a new version of barrier (greater than 2.4.0)
# is released, which will contain this commit.
(fetchpatch {
name = "add-missing-cstddef-header.patch";
url = "https://github.com/debauchee/barrier/commit/4b12265ae5d324b942698a3177e1d8b1749414d7.patch";
sha256 = "sha256-ajMxP7szBFi4h8cMT3qswfa3k/QiJ1FGI3q9fkCFQQk=";
})
];
buildInputs = [ curl xorg.libX11 xorg.libXext xorg.libXtst avahiWithLibdnssdCompat qtbase ];
nativeBuildInputs = [ cmake wrapGAppsHook ];

View file

@ -9,11 +9,11 @@
stdenv.mkDerivation rec {
pname = "jitsi-meet-electron";
version = "2022.1.1";
version = "2022.3.1";
src = fetchurl {
url = "https://github.com/jitsi/jitsi-meet-electron/releases/download/v${version}/jitsi-meet-x86_64.AppImage";
sha256 = "0x3fdqgjnsd570b7nszfx3h8l5c8x2kg32ig85n2a2g481c7xi6l";
sha256 = "sha256-/5WpjmTLwQN73m7nHg4DKPbXIbD9WyJ+YBbFMD4ZDfg=";
name = "${pname}-${version}.AppImage";
};

View file

@ -7,12 +7,12 @@
}:
let
version = "1.7.9";
version = "1.8.4";
pname = "session-desktop-appimage";
src = fetchurl {
url = "https://github.com/oxen-io/session-desktop/releases/download/v${version}/session-desktop-linux-x86_64-${version}.AppImage";
sha256 = "ca7754e59146633b71e66b02a90cff87e4f2574e57ff831ca4a5f983b7e2fbef";
sha256 = "Az9NEsqU4ZcmuSno38zflT4M4lI6/4ShEh3FVTcyRJg=";
};
appimage = appimageTools.wrapType2 {
inherit version pname src;

View file

@ -98,6 +98,7 @@ stdenv.mkDerivation rec {
};
patches = [
./kf594.patch
./shortcuts-binary-path.patch
# let it build with nixpkgs 10.12 sdk
./kotato-10.12-sdk.patch

View file

@ -0,0 +1,57 @@
diff --git a/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp b/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp
index 7641579aa..3c195e397 100644
--- a/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp
+++ b/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp
@@ -9,10 +9,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "base/platform/base_platform_info.h"
-#include <connection_thread.h>
-#include <registry.h>
-#include <surface.h>
-#include <plasmashell.h>
+#include <KWayland/Client/connection_thread.h>
+#include <KWayland/Client/registry.h>
+#include <KWayland/Client/surface.h>
+#include <KWayland/Client/plasmashell.h>
using namespace KWayland::Client;
Submodule Telegram/lib_base contains modified content
diff --git a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp
index 32f0de6..30a087f 100644
--- a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp
+++ b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp
@@ -13,11 +13,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QtCore/QPointer>
#include <QtGui/QWindow>
-#include <connection_thread.h>
-#include <registry.h>
-#include <surface.h>
-#include <xdgforeign.h>
-#include <idleinhibit.h>
+#include <KWayland/Client/connection_thread.h>
+#include <KWayland/Client/registry.h>
+#include <KWayland/Client/surface.h>
+#include <KWayland/Client/xdgforeign.h>
+#include <KWayland/Client/idleinhibit.h>
using namespace KWayland::Client;
Submodule Telegram/lib_ui contains modified content
diff --git a/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration.cpp b/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration.cpp
index 01f1e80..163cb6a 100644
--- a/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration.cpp
+++ b/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration.cpp
@@ -24,8 +24,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <private/qwaylandwindow_p.h>
#include <private/qwaylandshellsurface_p.h>
-#include <connection_thread.h>
-#include <registry.h>
+#include <KWayland/Client/connection_thread.h>
+#include <KWayland/Client/registry.h>
Q_DECLARE_METATYPE(QMargins);

View file

@ -63,12 +63,9 @@ stdenv.mkDerivation {
postPatch = lib.optionalString stdenv.isLinux ''
substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \
--replace '"libEGL.so.1"' '"${libGL}/lib/libEGL.so.1"'
substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \
--replace '"libGL.so.1"' '"${libGL}/lib/libGL.so.1"'
substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \
--replace '"libgbm.so.1"' '"${mesa}/lib/libgbm.so.1"'
substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \
--replace '"libEGL.so.1"' '"${libGL}/lib/libEGL.so.1"' \
--replace '"libGL.so.1"' '"${libGL}/lib/libGL.so.1"' \
--replace '"libgbm.so.1"' '"${mesa}/lib/libgbm.so.1"' \
--replace '"libdrm.so.2"' '"${libdrm}/lib/libdrm.so.2"'
'';

View file

@ -2,6 +2,8 @@
, lib
, fetchurl
, makeWrapper
, xar
, cpio
# Dynamic libraries
, alsa-lib
, atk
@ -28,8 +30,27 @@
}:
let
version = "5.9.6.2225";
inherit (stdenv.hostPlatform) system;
throwSystem = throw "Unsupported system: ${system}";
# Zoom versions are released at different times for each platform and linux
# is stuck on 5.9.6 until https://github.com/NixOS/nixpkgs/pull/166085 is
# resolved
version = {
aarch64-darwin = "5.10.4.6592";
x86_64-darwin = "5.10.4.6592";
x86_64-linux = "5.9.6.2225";
}.${system} or throwSystem;
srcs = {
aarch64-darwin = fetchurl {
url = "https://zoom.us/client/${version}/Zoom.pkg?archType=arm64";
sha256 = "0jg5f9hvb67hhfnifpx5fzz65fcijldy1znlia6pqflxwci3m5rq";
};
x86_64-darwin = fetchurl {
url = "https://zoom.us/client/${version}/Zoom.pkg";
sha256 = "1p83691bid8kz5mw09x6l9zvjglfszi5vbhfmbbpiqhiqcxlfz83";
};
x86_64-linux = fetchurl {
url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz";
sha256 = "0rynpw2fjn9j75f34rk0rgqn9wzyzgzmwh1a3xcx7hqingv45k53";
@ -69,23 +90,41 @@ stdenv.mkDerivation rec {
pname = "zoom";
inherit version;
src = srcs.${stdenv.hostPlatform.system};
src = srcs.${system} or throwSystem;
dontUnpack = true;
dontUnpack = stdenv.isLinux;
unpackPhase = lib.optionalString stdenv.isDarwin ''
xar -xf $src
zcat < zoomus.pkg/Payload | cpio -i
'';
nativeBuildInputs = [
makeWrapper
]
++ lib.optionals stdenv.isDarwin [
xar
cpio
];
installPhase = ''
runHook preInstall
mkdir $out
tar -C $out -xf $src
mv $out/usr/* $out/
${rec {
aarch64-darwin = ''
mkdir -p $out/Applications/zoom.us.app
cp -R . $out/Applications/zoom.us.app
'';
# darwin steps same on both architectures
x86_64-darwin = aarch64-darwin;
x86_64-linux = ''
mkdir $out
tar -C $out -xf $src
mv $out/usr/* $out/
'';
}.${system} or throwSystem}
runHook postInstall
'';
postFixup = ''
postFixup = lib.optionalString stdenv.isLinux ''
# Desktop File
substituteInPlace $out/share/applications/Zoom.desktop \
--replace "Exec=/usr/bin/zoom" "Exec=$out/bin/zoom"

View file

@ -138,7 +138,7 @@ python3Packages.buildPythonApplication rec {
passthru.updateScript = writeScript "update.sh" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl common-updater-scripts
version=$(list-git-tags https://gitlab.gnome.org/World/OpenPaperwork/paperwork.git | sed 's/^v//' | sort -V | tail -n1)
version=$(list-git-tags | sed 's/^v//' | sort -V | tail -n1)
update-source-version paperwork "$version" --file=pkgs/applications/office/paperwork/src.nix
docs_version="$(curl https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/raw/$version/paperwork-gtk/src/paperwork_gtk/model/help/screenshot.sh | grep TEST_DOCS_TAG= | cut -d'"' -f2)"
update-source-version paperwork.sample_docs "$docs_version" --file=pkgs/applications/office/paperwork/src.nix --version-key=rev

View file

@ -1,8 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, common-updater-scripts
, genericUpdater
, gitUpdater
, writers
, makeWrapper
, bash
@ -130,8 +129,7 @@ let
inherit
pname
version
common-updater-scripts
genericUpdater
gitUpdater
writers
jq
yq;

View file

@ -2,19 +2,17 @@
, version
, homepage
, lib
, common-updater-scripts
, genericUpdater
, gitUpdater
, writers
, jq
, yq
}:
let
updater = genericUpdater {
updater = gitUpdater {
inherit pname version;
attrPath = lib.toLower pname;
rev-prefix = "v";
versionLister = "${common-updater-scripts}/bin/list-git-tags --url=${homepage}";
};
updateScript = builtins.elemAt updater 0;
updateArgs = map (lib.escapeShellArg) (builtins.tail updater);

View file

@ -6,9 +6,8 @@
{ lib
, stdenvNoCC
, bash
, common-updater-scripts
, fetchFromGitHub
, genericUpdater
, gitUpdater
, jq
, makeWrapper
, mkYarnPackage
@ -80,8 +79,7 @@ stdenvNoCC.mkDerivation rec {
inherit
pname
version
common-updater-scripts
genericUpdater
gitUpdater
writers
jq
yarn

View file

@ -2,8 +2,7 @@
, version
, homepage
, lib
, common-updater-scripts
, genericUpdater
, gitUpdater
, writers
, jq
, yarn
@ -11,15 +10,12 @@
}:
let
updater = genericUpdater {
updater = gitUpdater {
inherit pname version;
attrPath = lib.toLower pname;
# exclude prerelease versions
versionLister = writers.writeBash "list-mirakurun-versions" ''
${common-updater-scripts}/bin/list-git-tags --url=${homepage} \
| grep '^[0-9]\+\.[0-9]\+\.[0-9]\+$'
'';
ignoredVersions = "-";
};
updateScript = builtins.elemAt updater 0;
updateArgs = map (lib.escapeShellArg) (builtins.tail updater);

View file

@ -1,46 +0,0 @@
{ lib, stdenv, fetchurl, unzip, pkg-config, libixp_hg, txt2tags, dash, python2, which
, libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }:
stdenv.mkDerivation rec {
rev = "2823";
version = "hg-2012-12-09";
pname = "wmii";
src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/wmii/source-archive.zip";
sha256 = "1wmkq14zvmfrmydl8752xz852cy7agrx3qp4fy2cc5asb2r9abaz";
};
# for dlopen-ing
patchPhase = ''
substituteInPlace lib/libstuff/x11/xft.c --replace "libXft.so" "$(pkg-config --variable=libdir xft)/libXft.so.2"
substituteInPlace cmd/wmii.sh.sh --replace "\$(which which)" "${which}/bin/which"
'';
configurePhase = ''
for file in $(grep -lr '#!.*sh'); do
sed -i 's|#!.*sh|#!${dash}/bin/dash|' $file
done
cat <<EOF >> config.mk
PREFIX = $out
LIBIXP = ${libixp_hg}/lib/libixp.a
BINSH = ${dash}/bin/dash
EOF
'';
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [ libixp_hg txt2tags dash python2 which
libX11 libXrender libXext libXinerama libXrandr libXft ];
# For some reason including mercurial in buildInputs did not help
makeFlags = [ "WMII_HGVERSION=hg${rev}" ];
meta = {
homepage = "https://suckless.org/"; # https://wmii.suckless.org/ does not exist anymore
description = "A small window manager controlled by a 9P filesystem";
maintainers = with lib.maintainers; [ kovirobi ];
license = lib.licenses.mit;
platforms = with lib.platforms; linux;
};
}

View file

@ -0,0 +1,72 @@
{ lib, stdenv
, fetchFromGitHub
, dash
, libX11
, libXext
, libXft
, libXinerama
, libXrandr
, libXrender
, libixp
, pkg-config
, txt2tags
, unzip
, which
}:
stdenv.mkDerivation rec {
pname = "wmii";
version = "unstable-2022-04-04";
src = fetchFromGitHub {
owner = "0intro";
repo = "wmii";
rev = "ff120c7fee6e1b3a30a4a800074394327fb1da9d";
hash = "sha256-KEmWnobpT/5TdgT2HGPCpG1duz9Q6Z6PFSEBs2Ce+7g=";
};
# for dlopen-ing
postPatch = ''
substituteInPlace lib/libstuff/x11/xft.c --replace "libXft.so" "$(pkg-config --variable=libdir xft)/libXft.so.2"
substituteInPlace cmd/wmii.sh.sh --replace "\$(which which)" "${which}/bin/which"
'';
postConfigure = ''
for file in $(grep -lr '#!.*sh'); do
sed -i 's|#!.*sh|#!${dash}/bin/dash|' $file
done
cat <<EOF >> config.mk
PREFIX = $out
LIBIXP = ${libixp}/lib/libixp.a
BINSH = ${dash}/bin/dash
EOF
'';
# Remove optional python2 functionality
postInstall = ''
rm -rf $out/lib/python* $out/etc/wmii-hg/python
'';
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [
dash
libX11
libXext
libXft
libXinerama
libXrandr
libXrender
libixp
txt2tags
which
];
meta = {
homepage = "https://github.com/0intro/wmii";
description = "A small, scriptable window manager, with a 9P filesystem interface and an acme-like layout";
maintainers = with lib.maintainers; [ kovirobi ];
license = lib.licenses.mit;
platforms = with lib.platforms; linux;
};
}

View file

@ -10,8 +10,8 @@
, rev-prefix ? ""
, odd-unstable ? false
, patchlevel-unstable ? false
# explicit url is useful when git protocol is used only for tags listing
# while actual release is referred by tarball
# an explicit url is needed when src.meta.homepage or src.url don't
# point to a git repo (eg. when using fetchurl, fetchzip, ...)
, url ? null
}:

View file

@ -31,7 +31,7 @@ done
# By default we set url to src.url or src.meta.homepage
if [[ -z "$url" ]]; then
url="$(nix-instantiate $systemArg --eval -E \
"with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.url or $UPDATE_NIX_ATTR_PATH.src.meta.homepage" \
"with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.meta.homepage or $UPDATE_NIX_ATTR_PATH.src.url" \
| tr -d '"')"
fi

View file

@ -0,0 +1,22 @@
{ fetchzip, lib }:
let
version = "2.01";
in
fetchzip {
name = "kacst-${version}";
url = "mirror://debian/pool/main/f/fonts-kacst/fonts-kacst_${version}+mry.orig.tar.bz2";
sha256 = "sha256-pIO58CXfmKYRKYJ1oI+tjTwlKBRnkZ/CpIM2Xa0CDA4=";
postFetch = ''
mkdir -p $out/share/fonts
tar xjf $downloadedFile --strip-components=1 -C $out/share/fonts
'';
meta = with lib; {
description = "KACST Latin-Arabic TrueType fonts";
license = licenses.gpl2Only;
maintainers = with lib.maintainers; [ serge ];
platforms = platforms.all;
};
}

View file

@ -24,7 +24,7 @@ in rebar3Relx rec {
set -euo pipefail
latest=$(list-git-tags --url=https://github.com/${owner}/${repo}.git | sort -V | tail -1)
latest=$(list-git-tags | sort -V | tail -1)
if [ "$latest" != "${version}" ]; then
nixpkgs="$(git rev-parse --show-toplevel)"
nix_path="$nixpkgs/pkgs/development/beam-modules/elvis-erlang"

View file

@ -51,7 +51,7 @@ rebar3Relx {
#! nix-shell -i bash -p common-updater-scripts coreutils git gnused gnutar gzip "rebar3WithPlugins { globalPlugins = [ beamPackages.rebar3-nix ]; }"
set -ox errexit
latest=$(list-git-tags --url=https://github.com/${owner}/${repo}.git | sed -n '/[\d\.]\+/p' | sort -V | tail -1)
latest=$(list-git-tags | sed -n '/[\d\.]\+/p' | sort -V | tail -1)
if [[ "$latest" != "${version}" ]]; then
nixpkgs="$(git rev-parse --show-toplevel)"
nix_path="$nixpkgs/pkgs/development/beam-modules/erlang-ls"

View file

@ -11,8 +11,8 @@
let
major = "11";
minor = "0";
update = "12";
build = "7";
update = "15";
build = "10";
openjdk = stdenv.mkDerivation rec {
pname = "openjdk" + lib.optionalString headless "-headless";
@ -22,7 +22,7 @@ let
owner = "openjdk";
repo = "jdk${major}u";
rev = "jdk-${version}";
sha256 = "0s8g6gj5vhm7hbp05cqaxasjrkwr41fm634qim8q6slklm4pkkli";
sha256 = "le2JDxPJPSuga4JxLJNRZwCaodptSb2kh4TsJXumTXs=";
};
nativeBuildInputs = [ pkg-config autoconf unzip ];
@ -40,7 +40,6 @@ let
./currency-date-range-jdk10.patch
./increase-javadoc-heap.patch
./fix-library-path-jdk11.patch
./fix-glibc-2.34.patch
] ++ lib.optionals (!headless && enableGnome2) [
./swing-use-gtk-jdk10.patch
];
@ -61,13 +60,17 @@ let
"--with-zlib=system"
"--with-lcms=system"
"--with-stdc++lib=dynamic"
"--disable-warnings-as-errors"
] ++ lib.optional stdenv.isx86_64 "--with-jvm-features=zgc"
++ lib.optional headless "--enable-headless-only"
++ lib.optional (!headless && enableJavaFX) "--with-import-modules=${openjfx}";
separateDebugInfo = true;
NIX_CFLAGS_COMPILE = "-Wno-error";
# Workaround for
# `cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]`
# when building jtreg
NIX_CFLAGS_COMPILE = "-Wformat";
NIX_LDFLAGS = toString (lib.optionals (!headless) [
"-lfontconfig" "-lcups" "-lXinerama" "-lXrandr" "-lmagic"

View file

@ -11,8 +11,8 @@
let
version = {
feature = "17";
interim = ".0.1";
build = "12";
interim = ".0.3";
build = "7";
};
openjdk = stdenv.mkDerivation {
@ -23,7 +23,7 @@ let
owner = "openjdk";
repo = "jdk${version.feature}u";
rev = "jdk-${version.feature}${version.interim}+${version.build}";
sha256 = "1l1jgbz8q7zq66npfg88r0l5xga427vrz35iys09j44b6qllrldd";
sha256 = "qxiKz8HCNZXFdfgfiA16q5z0S65cZE/u7e+QxLlplWo=";
};
nativeBuildInputs = [ pkg-config autoconf unzip ];

View file

@ -1,16 +1,31 @@
From 83f97773ea99fe2191a49e551ea43d51c9a765cd Mon Sep 17 00:00:00 2001
Subject: [PATCH] strip some hard-coded default paths for libs and extensions
---
src/hotspot/os/linux/os_linux.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.cpp
index 0dbe03349e..847d56778d 100644
index 476b1c2175..2695ed2301 100644
--- a/src/hotspot/os/linux/os_linux.cpp
+++ b/src/hotspot/os/linux/os_linux.cpp
@@ -326,13 +326,13 @@ void os::init_system_properties_values() {
@@ -417,20 +417,20 @@ void os::init_system_properties_values() {
// ...
// 7: The default directories, normally /lib and /usr/lib.
#if defined(AMD64) || (defined(_LP64) && defined(SPARC)) || defined(PPC64) || defined(S390)
- #define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
+ #define DEFAULT_LIBPATH ""
#else
#if defined(AARCH64)
// Use 32-bit locations first for AARCH64 (a 64-bit architecture), since some systems
// might not adhere to the FHS and it would be a change in behaviour if we used
// DEFAULT_LIBPATH of other 64-bit architectures which prefer the 64-bit paths.
- #define DEFAULT_LIBPATH "/lib:/usr/lib:/usr/lib64:/lib64"
+ #define DEFAULT_LIBPATH ""
#else
- #define DEFAULT_LIBPATH "/lib:/usr/lib"
+ #define DEFAULT_LIBPATH ""
#endif // AARCH64
#endif
// Base path of extensions installed on the system.
@ -19,7 +34,7 @@ index 0dbe03349e..847d56778d 100644
#define EXTENSIONS_DIR "/lib/ext"
// Buffer that fits several sprintfs.
@@ -392,13 +392,13 @@ void os::init_system_properties_values() {
@@ -490,13 +490,13 @@ void os::init_system_properties_values() {
strlen(v) + 1 +
sizeof(SYS_EXT_DIR) + sizeof("/lib/") + sizeof(DEFAULT_LIBPATH) + 1,
mtInternal);
@ -35,3 +50,6 @@ index 0dbe03349e..847d56778d 100644
Arguments::set_ext_dirs(buf);
FREE_C_HEAP_ARRAY(char, buf);
--
2.35.1

View file

@ -1,27 +0,0 @@
{ lib, stdenv, fetchurl, unzip, txt2tags }:
stdenv.mkDerivation rec {
rev = "148";
version = "hg-2012-12-02";
pname = "libixp";
src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/libixp/source-archive.zip";
sha256 = "0kcdvdcrkw6q39v563ncis6d7ini64xbgn5fd3b4aa95fp9sj3is";
};
configurePhase = ''
sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk
'';
nativeBuildInputs = [ unzip ];
buildInputs = [ txt2tags ];
meta = {
homepage = "http://repo.cat-v.org/libixp/"; # see also https://libs.suckless.org/deprecated/libixp
description = "Portable, simple C-language 9P client and server libary";
maintainers = with lib.maintainers; [ kovirobi ];
license = lib.licenses.mit;
platforms = with lib.platforms; unix;
};
}

View file

@ -0,0 +1,28 @@
{ lib, stdenv, fetchFromGitHub, unzip, txt2tags }:
stdenv.mkDerivation rec {
pname = "libixp";
version = "unstable-2022-04-04";
src = fetchFromGitHub {
owner = "0intro";
repo = "libixp";
rev = "ca2acb2988e4f040022f0e2094c69ab65fa6ec53";
hash = "sha256-S25DmXJ7fN0gXLV0IzUdz8hXPTYEHmaSG7Mnli6GQVc=";
};
postConfigure = ''
sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk
'';
nativeBuildInputs = [ unzip ];
buildInputs = [ txt2tags ];
meta = {
homepage = "https://github.com/0intro/libixp";
description = "Portable, simple C-language 9P client and server libary";
maintainers = with lib.maintainers; [ kovirobi ];
license = lib.licenses.mit;
platforms = with lib.platforms; unix;
};
}

View file

@ -71,6 +71,7 @@ mkDerivation rec {
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "libsForQt5.mlt";
rev-prefix = "v";
};

View file

@ -4,6 +4,8 @@ stdenv.mkDerivation rec {
pname = "simpleitk";
version = "2.1.1";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "SimpleITK";
repo = "SimpleITK";

View file

@ -4,16 +4,14 @@
, ApplicationServices
}:
with lib;
stdenv.mkDerivation rec {
pname = "vapoursynth";
version = "R58";
version = "58";
src = fetchFromGitHub {
owner = "vapoursynth";
repo = "vapoursynth";
rev = version;
rev = "R${version}";
sha256 = "sha256-LIjNfyfpyvE+Ec6f4aGzRA4ZGoWPFhjtUw4yrenDsUQ=";
};
@ -25,7 +23,7 @@ stdenv.mkDerivation rec {
buildInputs = [
zimg libass
(python3.withPackages (ps: with ps; [ sphinx cython ]))
] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ];
] ++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
enableParallelBuilding = true;
@ -58,5 +56,4 @@ stdenv.mkDerivation rec {
platforms = platforms.x86_64;
maintainers = with maintainers; [ rnhmjoj sbruder tadeokondrak ];
};
}

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, ansible
, ansible-core
, flaky
, pytest-mock
, pytestCheckHook
@ -35,7 +35,7 @@ buildPythonPackage rec {
'';
checkInputs = [
ansible
ansible-core
flaky
pytest-mock
pytestCheckHook

View file

@ -1,6 +1,6 @@
{ lib
, stdenv
, ansible
, ansible-core
, buildPythonPackage
, fetchPypi
, mock
@ -32,7 +32,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
ansible
ansible-core
psutil
pexpect
python-daemon
@ -41,7 +41,7 @@ buildPythonPackage rec {
];
checkInputs = [
ansible # required to place ansible CLI onto the PATH in tests
ansible-core # required to place ansible CLI onto the PATH in tests
pytestCheckHook
pytest-mock
pytest-timeout

View file

@ -1,88 +0,0 @@
{ lib
, callPackage
, buildPythonPackage
, fetchPypi
, installShellFiles
, cryptography
, jinja2
, junit-xml
, lxml
, ncclient
, packaging
, paramiko
, pexpect
, psutil
, pycrypto
, pyyaml
, requests
, scp
, windowsSupport ? false, pywinrm
, xmltodict
}:
let
ansible-collections = callPackage ./collections.nix {
version = "3.4.0"; # must be < 4.0
sha256 = "096rbgz730njk0pg8qnc27mmz110wqrw354ca9gasb7rqg0f4d6a";
};
in
buildPythonPackage rec {
pname = "ansible-base";
version = "2.10.17";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-75JYgsqNTDwszQkc3hmeDIaQJMytDQejN9zyB7/zLzQ=";
};
# ansible_connection is already wrapped, so don't pass it through
# the python interpreter again, as it would break execution of
# connection plugins.
postPatch = ''
substituteInPlace lib/ansible/executor/task_executor.py \
--replace "[python," "["
'';
nativeBuildInputs = [
installShellFiles
];
propagatedBuildInputs = [
# depend on ansible-collections instead of the other way around
ansible-collections
# from requirements.txt
cryptography
jinja2
packaging
pyyaml
# optional dependencies
junit-xml
lxml
ncclient
paramiko
pexpect
psutil
pycrypto
requests
scp
xmltodict
] ++ lib.optional windowsSupport pywinrm;
postInstall = ''
installManPage docs/man/man1/*.1
'';
# internal import errors, missing dependencies
doCheck = false;
passthru = {
collections = ansible-collections;
};
meta = with lib; {
description = "Radically simple IT automation";
homepage = "https://www.ansible.com";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -3,6 +3,7 @@
, buildPythonPackage
, fetchPypi
, installShellFiles
, ansible
, cryptography
, jinja2
, junit-xml
@ -21,12 +22,6 @@
, xmltodict
}:
let
ansible-collections = callPackage ./collections.nix {
version = "5.6.0";
sha256 = "sha256-rNMHMUNBVNo3bO7rQW7hVBzfuOo8ZIAjpVo0yz7K+fM=";
};
in
buildPythonPackage rec {
pname = "ansible-core";
version = "2.12.5";
@ -49,8 +44,8 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
# depend on ansible-collections instead of the other way around
ansible-collections
# depend on ansible instead of the other way around
ansible
# from requirements.txt
cryptography
jinja2
@ -77,10 +72,6 @@ buildPythonPackage rec {
# internal import errors, missing dependencies
doCheck = false;
passthru = {
collections = ansible-collections;
};
meta = with lib; {
description = "Radically simple IT automation";
homepage = "https://www.ansible.com";

View file

@ -1,4 +1,5 @@
{ lib
, pythonOlder
, buildPythonPackage
, fetchPypi
, jsonschema
@ -11,25 +12,30 @@
, textfsm
, ttp
, xmltodict
# optionals
, withJunos ? false
, withNetbox ? false
, version
, sha256
}:
buildPythonPackage rec {
let
pname = "ansible";
inherit version;
version = "5.6.0";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version sha256;
inherit pname version;
sha256 = "sha256-rNMHMUNBVNo3bO7rQW7hVBzfuOo8ZIAjpVo0yz7K+fM=";
};
postPatch = ''
# make ansible-base depend on ansible-collection, not the other way around
sed -Ei '/ansible-(base|core)/d' setup.py
# we make ansible-core depend on ansible, not the other way around
sed -Ei '/ansible-core/d' setup.py
'';
propagatedBuildInputs = lib.unique ([

View file

@ -1,55 +0,0 @@
{ lib
, fetchPypi
, buildPythonPackage
, pycrypto
, paramiko
, jinja2
, pyyaml
, httplib2
, six
, netaddr
, dnspython
, jmespath
, dopy
, ncclient
, windowsSupport ? false
, pywinrm
}:
buildPythonPackage rec {
pname = "ansible";
version = "2.9.27";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-R5FZ5Qs72Qkg0GvFlBDDpR0/m+m04QKeEdHkotBwVzY=";
};
prePatch = ''
# ansible-connection is wrapped, so make sure it's not passed
# through the python interpreter.
sed -i "s/\[python, /[/" lib/ansible/executor/task_executor.py
'';
postInstall = ''
for m in docs/man/man1/*; do
install -vD $m -t $out/share/man/man1
done
'';
propagatedBuildInputs = [
pycrypto paramiko jinja2 pyyaml httplib2
six netaddr dnspython jmespath dopy ncclient
] ++ lib.optional windowsSupport pywinrm;
# dificult to test
doCheck = false;
meta = with lib; {
homepage = "https://www.ansible.com";
description = "Radically simple IT automation";
license = [ licenses.gpl3 ] ;
maintainers = with maintainers; [ joamaki costrouc hexa ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View file

@ -13,16 +13,20 @@
, pyopengl
, seaborn
, pytorch
, pythonOlder
, torchvision
}:
buildPythonPackage rec {
pname = "boxx";
version = "0.9.11";
version = "0.10.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-xB/bCSIzT0JF5ZPWqSn3P8soBJnzDTfCyan+iOrfWzw=";
hash = "sha256-1Q6wCloOCfyDmvC8VbK6GgfnxuliJ6Ze7UEvsNFBVa0=";
};
propagatedBuildInputs = [
@ -37,19 +41,22 @@ buildPythonPackage rec {
seaborn
];
pythonImportsCheck = [ "boxx" ];
checkInputs = [
xvfb-run
pytorch
torchvision
];
pythonImportsCheck = [
"boxx"
];
checkPhase = ''
xvfb-run ${python.interpreter} -m unittest
'';
meta = with lib; {
description = "Tool-box for efficient build and debug in Python. Especially for Scientific Computing and Computer Vision.";
description = "Tool-box for efficient build and debug for Scientific Computing and Computer Vision";
homepage = "https://github.com/DIYer22/boxx";
license = licenses.mit;
maintainers = with maintainers; [ lucasew ];

View file

@ -6,6 +6,7 @@
, jinja2
, lib
, mock
, packaging
, pexpect
, psutil
, pyserial
@ -44,6 +45,7 @@ buildPythonPackage rec {
attrs
autobahn
jinja2
packaging
pexpect
pyserial
pyudev

View file

@ -40,5 +40,7 @@ buildPythonPackage rec {
description = "Plugin for py.test to simplify calling ansible modules from tests or fixtures";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
# https://github.com/ansible-community/pytest-ansible/blob/v2.2.4/setup.py#L124
broken = lib.versionAtLeast ansible.version "2.10";
};
}

View file

@ -11,22 +11,16 @@
buildPythonPackage rec {
pname = "svdtools";
version = "0.1.21";
version = "0.1.22";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version pname;
sha256 = "0qc94haqkj4dbhify1l3x0ji1dx34m79nfnsk1c7l1kl2zjvz6bz";
hash = "sha256-5zMuCFCvh7BXr9BbyyDhWw1Lt/Fomv0SALiPJQbxJNQ=";
};
# remove upon next release
# see: https://github.com/stm32-rs/svdtools/pull/96
prePatch = ''
substituteInPlace setup.py \
--replace 'PyYAML ~= 5.3' 'PyYAML >= 5.3'
'';
propagatedBuildInputs = [
braceexpand
click
@ -34,9 +28,13 @@ buildPythonPackage rec {
lxml
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "svdtools" ];
pythonImportsCheck = [
"svdtools"
];
meta = with lib; {
description = "Python package to handle vendor-supplied, often buggy SVD files";

View file

@ -81,7 +81,7 @@ let
(rebar3WithPlugins { globalPlugins = [rebar3-nix]; })
]
}
latest=$(list-git-tags --url=https://github.com/${owner}/${pname}.git | sed -n '/[\d\.]\+/p' | sort -V | tail -1)
latest=$(list-git-tags | sed -n '/[\d\.]\+/p' | sort -V | tail -1)
if [ "$latest" != "${version}" ]; then
nixpkgs="$(git rev-parse --show-toplevel)"
nix_path="$nixpkgs/pkgs/development/tools/build-managers/rebar3"

View file

@ -15,7 +15,7 @@ buildGoModule rec {
ldflags = [
"-s" "-w"
"-X github.com/hetznercloud/cli/cli.Version=${version}"
"-X github.com/hetznercloud/cli/internal/version.Version=${version}"
];
nativeBuildInputs = [ installShellFiles ];

View file

@ -0,0 +1,30 @@
{ lib, buildGoModule, fetchFromGitLab, nix, subversion }:
buildGoModule rec {
pname = "wp4nix";
version = "1.0.0";
src = fetchFromGitLab {
domain = "git.helsinki.tools";
owner = "helsinki-systems";
repo = "wp4nix";
rev = "v${version}";
sha256 = "sha256-WJteeFUMr684yZEtUP13MqRjJ1UAeo48AzOPdLEE65w=";
};
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
postPatch = ''
substituteInPlace main.go --replace nix-hash ${nix}/bin/nix-hash
substituteInPlace svn.go --replace '"svn"' '"${subversion}/bin/svn"'
'';
meta = with lib; {
description = "Packaging helper for Wordpress themes and plugins";
homepage = "https://git.helsinki.tools/helsinki-systems/wp4nix";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
platforms = platforms.linux;
};
}

View file

@ -16,11 +16,11 @@
stdenv.mkDerivation rec {
pname = "cypress";
version = "9.5.4";
version = "9.6.0";
src = fetchzip {
url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip";
sha256 = "F4BSIA3ImXwmmki8/FK0t08Gf5S8KMpXNNBIPPJQNsM=";
sha256 = "Mac6lmwQqbj9EPfpG0iLI8Qx04q7E0swmTqXx0J+Sdc=";
};
# don't remove runtime deps

View file

@ -1,42 +1,67 @@
{ fetchFromGitHub, lib, stdenv, makeDesktopItem, openal, pkg-config, libogg,
libvorbis, SDL, SDL_image, makeWrapper, zlib, file,
client ? true, server ? true }:
with lib;
{ lib
, stdenv
, fetchFromGitHub
, makeDesktopItem
, copyDesktopItems
, openal
, pkg-config
, libogg
, libvorbis
, SDL2
, SDL2_image
, makeWrapper
, zlib
, file
, client ? true, server ? true
}:
stdenv.mkDerivation rec {
# master branch has legacy (1.2.0.2) protocol 1201 and gcc 6 fix.
pname = "assaultcube";
version = "unstable-2018-05-20";
version = "1.3.0.2";
src = fetchFromGitHub {
owner = "assaultcube";
repo = "AC";
rev = "f58ea22b46b5013a520520670434b3c235212371";
sha256 = "1vfn3d55vmmipdykrcfvgk6dddi9y95vlclsliirm7jdp20f15hd";
rev = "v${version}";
sha256 = "0qv339zw9q5q1y7bghca03gw7z4v89sl4lbr6h3b7siy08mcwiz9";
};
nativeBuildInputs = [ makeWrapper pkg-config ];
nativeBuildInputs = [
makeWrapper
pkg-config
copyDesktopItems
];
buildInputs = [ file zlib ] ++ optionals client [ openal SDL SDL_image libogg libvorbis ];
buildInputs = [
file
zlib
] ++ lib.optionals client [
openal
SDL2
SDL2_image
libogg
libvorbis
];
targets = (optionalString server "server") + (optionalString client " client");
targets = (lib.optionalString server "server") + (lib.optionalString client " client");
makeFlags = [ "-C source/src" "CXX=${stdenv.cc.targetPrefix}c++" targets ];
desktop = makeDesktopItem {
name = "AssaultCube";
desktopName = "AssaultCube";
comment = "A multiplayer, first-person shooter game, based on the CUBE engine. Fast, arcade gameplay.";
genericName = "First-person shooter";
categories = [ "Game" "ActionGame" "Shooter" ];
icon = "assaultcube.png";
exec = pname;
};
desktopItems = [
(makeDesktopItem {
name = pname;
desktopName = "AssaultCube";
comment = "A multiplayer, first-person shooter game, based on the CUBE engine. Fast, arcade gameplay.";
genericName = "First-person shooter";
categories = [ "Game" "ActionGame" "Shooter" ];
icon = "assaultcube";
exec = pname;
})
];
gamedatadir = "/share/games/${pname}";
installPhase = ''
runHook preInstall
bindir=$out/bin
@ -47,7 +72,6 @@ stdenv.mkDerivation rec {
if (test -e source/src/ac_client) then
cp source/src/ac_client $bindir
mkdir -p $out/share/applications
cp ${desktop}/share/applications/* $out/share/applications
install -Dpm644 packages/misc/icon.png $out/share/icons/assaultcube.png
install -Dpm644 packages/misc/icon.png $out/share/pixmaps/assaultcube.png
@ -60,13 +84,15 @@ stdenv.mkDerivation rec {
makeWrapper $out/bin/ac_server $out/bin/${pname}-server \
--chdir "$out/$gamedatadir" --add-flags "-Cconfig/servercmdline.txt"
fi
'';
meta = {
runHook postInstall
'';
meta = with lib; {
description = "Fast and fun first-person-shooter based on the Cube fps";
homepage = "https://assault.cubers.net";
maintainers = [ ];
platforms = platforms.linux; # should work on darwin with a little effort.
license = lib.licenses.unfree;
license = licenses.unfree;
maintainers = with maintainers; [ darkonion0 ];
};
}

View file

@ -0,0 +1,13 @@
diff --git a/configure.ac b/configure.ac
index c215f3bf..f5aa25d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ AC_C_BIGENDIAN
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LIBTOOL
-AC_PATH_PROG([AR], [ar])
+AC_PATH_TOOL([AR], [ar])
AC_PATH_PROG([CAT], [cat])
AC_PATH_PROG([CHMOD], [chmod])
AC_PATH_PROG([CHOWN], [chown])

View file

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
patches = [
./proc_path.diff # TODO: upstream to OpenSMTPD, see https://github.com/NixOS/nixpkgs/issues/54045
./cross_fix.diff # TODO: remove when https://github.com/OpenSMTPD/OpenSMTPD/pull/1177 will have made it into a release
];
# See https://github.com/OpenSMTPD/OpenSMTPD/issues/885 for the `sh bootstrap`

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "vouch-proxy";
version = "0.36.0";
version = "0.37.0";
src = fetchFromGitHub {
owner = "vouch";
repo = "vouch-proxy";
rev = "v${version}";
sha256 = "sha256-pgoxRzYc5PIrxnRwWpthFmpsxDfvWTmLT7upQVIFoQo=";
sha256 = "0rcc5b3v5d9v4y78z5fnjbn1k10xy8cpgxjhqc7j22k9wkic05mh";
};
vendorSha256 = "sha256-ifH+420FIrib+zQtzzHtMMYd84BED+vgnRw4xToYIl4=";
vendorSha256 = "0pi230xcaf0wkphfn3s4h3riviihxlqwyb9lzfdvh8h5dpizxwc9";
ldflags = [
"-s" "-w"

View file

@ -1,24 +0,0 @@
{ python3Packages, fetchFromGitHub }:
rec {
ansible = ansible_2_12;
ansible_2_12 = python3Packages.toPythonApplication python3Packages.ansible-core;
ansible_2_11 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (old: rec {
pname = "ansible-core";
version = "2.11.6";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-k9UCg8fFtHbev4PcCJs/Z5uTmouae11ijSjar7s9MDo=";
};
}));
ansible_2_10 = python3Packages.toPythonApplication python3Packages.ansible-base;
# End of support 2021/10/02, End of life 2021/12/31
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;
ansible_2_8 = throw "Ansible 2.8 went end of life on 2021/01/03 and has subsequently been dropped";
}

View file

@ -12,7 +12,7 @@ buildPythonApplication rec {
};
propagatedBuildInputs = [
ansible
ansible-core
boto
cffi
cryptography

View file

@ -29,7 +29,7 @@
, bubblewrap
, pcre
, check
, python2
, python3
, json_c
, zchunk
, libmodulemd
@ -50,6 +50,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
python3
pkg-config
which
autoconf
@ -82,7 +83,6 @@ stdenv.mkDerivation rec {
librepo
pcre
check
python2
# libdnf # vendored unstable branch
# required by vendored libdnf

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "corerad";
version = "1.1.2";
version = "1.2.0";
src = fetchFromGitHub {
owner = "mdlayher";
repo = "corerad";
rev = "v${version}";
sha256 = "sha256-1v7jAYLIflXIKY0zltzkre4sNv9qqWxFGWrQuOBr2s0=";
sha256 = "sha256-CNDotCRxKBtg/RsrBa00r3vRKBIIZ4xqpdXkImI44QI=";
};
vendorSha256 = "sha256-oS9nI1BELDLFksN+NbLT1Eklg67liOvcRbxtGdYGJJA=";
vendorSha256 = "sha256-w15dRxIBzDN5i4RNEDuSfCHHb4wc4fw1B2wjlTk40iE=";
# Since the tarball pulled from GitHub doesn't contain git tag information,
# we fetch the expected tag's timestamp from a file in the root of the

View file

@ -1,18 +1,18 @@
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, gnupg }:
buildGoModule rec {
pname = "browserpass";
version = "3.0.6";
version = "3.0.10";
src = fetchFromGitHub {
owner = "browserpass";
repo = "browserpass-native";
rev = version;
sha256 = "0q3bsla07zjl6i69nj1axbkg2ia89pvh0jg6nlqgbm2kpzzbn0pz";
sha256 = "8eAwUwcRTnhVDkQc3HsvTP0TqC4LfVrUelxdbJxe9t0=";
};
nativeBuildInputs = [ makeWrapper ];
vendorSha256 = "1wcbn0ip596f2dp68y6jmxgv20l0dgrcxg5cwclkawigj05416zj";
vendorSha256 = "gWXcYyIp86b/Pn6vj7qBj/VZS9rTr4weVw0YWmg+36c=";
doCheck = false;
@ -21,8 +21,8 @@ buildGoModule rec {
# variables to be valid by default
substituteInPlace Makefile \
--replace "PREFIX ?= /usr" ""
sed -i -e 's/SED :=.*/SED := sed/' Makefile
sed -i -e 's/INSTALL :=.*/INSTALL := install/' Makefile
sed -i -e 's/SED =.*/SED = sed/' Makefile
sed -i -e 's/INSTALL =.*/INSTALL = install/' Makefile
'';
DESTDIR = placeholder "out";

View file

@ -225,7 +225,7 @@ in (buildEnv {
perl `type -P mktexlsr.pl` --sort ./share/texmf
${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin
perl `type -P fmtutil.pl` --sys --all | grep '^fmtutil' # too verbose
FORCE_SOURCE_DATE=1 perl `type -P fmtutil.pl` --sys --all | grep '^fmtutil' # too verbose
#${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin # do we need to regenerate format links?
# Disable unavailable map files
@ -233,6 +233,9 @@ in (buildEnv {
# Regenerate the map files (this is optional)
perl `type -P updmap.pl` --sys --force
# sort entries to improve reproducibility
[[ -f "$TEXMFSYSCONFIG"/web2c/updmap.cfg ]] && sort -o "$TEXMFSYSCONFIG"/web2c/updmap.cfg "$TEXMFSYSCONFIG"/web2c/updmap.cfg
perl `type -P mktexlsr.pl` --sort ./share/texmf-* # to make sure
'' +
# install (wrappers for) scripts, based on a list from upstream texlive
@ -299,7 +302,12 @@ in (buildEnv {
)
fi
''
+ bin.cleanBrokenLinks
+ bin.cleanBrokenLinks +
# Get rid of all log files. They are not needed, but take up space
# and render the build unreproducible by their embedded timestamps.
''
find $TEXMFSYSVAR/web2c -name '*.log' -delete
''
;
}).overrideAttrs (_: { allowSubstitutes = true; })
# TODO: make TeX fonts visible by fontconfig: it should be enough to install an appropriate file

View file

@ -74,6 +74,9 @@ mapAliases ({
amuleGui = throw "amuleGui was renamed to amule-gui"; # Added 2022-02-11
amsn = throw "amsn has been removed due to being unmaintained"; # Added 2020-12-09
angelfish = libsForQt5.plasmaMobileGear.angelfish; # Added 2021-10-06
ansible_2_11 = throw "Ansible 2.11 goes end of life in 2022/11 and can't be supported throughout the 22.05 release cycle"; # Added 2022-03-30
ansible_2_10 = throw "Ansible 2.10 went end of life in 2022/05 and has subsequently been dropped"; # Added 2022-03-30
ansible_2_9 = throw "Ansible 2.9 went end of life in 2022/05 and has subsequently been dropped"; # Added 2022-03-30
antimicro = throw "antimicro has been removed as it was broken, see antimicrox instead"; # Added 2020-08-06
antimicroX = antimicrox; # Added 2021-10-31
ardour_5 = throw "ardour_5 has been removed. see https://github.com/NixOS/nixpkgs/issues/139549"; # Added 2021-09-28
@ -649,6 +652,7 @@ mapAliases ({
libgroove = throw "libgroove has been removed, because it depends on an outdated and insecure version of ffmpeg"; # Added 2022-01-21
libgumbo = throw "'libgumbo' has been renamed to/replaced by 'gumbo'"; # Converted to throw 2022-02-22
libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # Added 2018-03-14
libixp_hg = libixp;
libjpeg_drop = libjpeg_original; # Added 2020-06-05
libjson_rpc_cpp = throw "'libjson_rpc_cpp' has been renamed to/replaced by 'libjson-rpc-cpp'"; # Converted to throw 2022-02-22
libkml = throw "libkml has been removed from nixpkgs, as it's abandoned and no package needed it"; # Added 2021-11-09
@ -1363,6 +1367,7 @@ mapAliases ({
winpdb = throw "winpdb has been removed: abandoned by upstream"; # Added 2022-04-22
winusb = throw "'winusb' has been renamed to/replaced by 'woeusb'"; # Converted to throw 2022-02-22
wireguard = throw "'wireguard' has been renamed to/replaced by 'wireguard-tools'"; # Converted to throw 2022-02-22
wmii_hg = wmii;
wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31
### X ###

View file

@ -14661,12 +14661,8 @@ with pkgs;
autoadb = callPackage ../misc/autoadb { };
inherit (callPackage ../tools/admin/ansible { })
ansible
ansible_2_8
ansible_2_9
ansible_2_10
ansible_2_11;
ansible = ansible_2_12;
ansible_2_12 = python3Packages.toPythonApplication python3Packages.ansible-core;
ansible-lint = with python3.pkgs; toPythonApplication ansible-lint;
@ -19344,7 +19340,7 @@ with pkgs;
libxsmm = callPackage ../development/libraries/libxsmm { };
libixp_hg = callPackage ../development/libraries/libixp-hg { };
libixp = callPackage ../development/libraries/libixp { };
libwpe = callPackage ../development/libraries/libwpe { };
@ -24270,6 +24266,8 @@ with pkgs;
kanji-stroke-order-font = callPackage ../data/fonts/kanji-stroke-order-font {};
kacst = callPackage ../data/fonts/kacst {};
kawkab-mono-font = callPackage ../data/fonts/kawkab-mono {};
kde-rounded-corners = libsForQt5.callPackage ../data/themes/kwin-decorations/kde-rounded-corners { };
@ -30416,7 +30414,7 @@ with pkgs;
wmderlandc = callPackage ../applications/window-managers/wmderlandc { };
wmii_hg = callPackage ../applications/window-managers/wmii-hg { };
wmii = callPackage ../applications/window-managers/wmii { };
wofi = callPackage ../applications/misc/wofi { };
@ -30445,6 +30443,8 @@ with pkgs;
wrapThunderbird = callPackage ../applications/networking/mailreaders/thunderbird/wrapper.nix { };
wp4nix = callPackage ../development/tools/wp4nix { };
wp-cli = callPackage ../development/tools/wp-cli { };
wsjtx = qt5.callPackage ../applications/radio/wsjtx { };
@ -35182,7 +35182,7 @@ with pkgs;
jami-daemon jami-libclient jami-client-gnome jami-client-qt;
jitsi-meet-electron = callPackage ../applications/networking/instant-messengers/jitsi-meet-electron {
electron = electron_16;
electron = electron_17;
};
zenstates = callPackage ../os-specific/linux/zenstates {};

View file

@ -34,6 +34,7 @@ in
mapAliases ({
aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30
anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
asyncio-nats-client = nats-py; # added 2022-02-08
bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15

View file

@ -513,9 +513,7 @@ in {
ansi2html = callPackage ../development/python-modules/ansi2html { };
ansible = callPackage ../development/python-modules/ansible/legacy.nix { };
ansible-base = callPackage ../development/python-modules/ansible/base.nix { };
ansible = callPackage ../development/python-modules/ansible { };
ansible-compat = callPackage ../development/python-modules/ansible-compat { };