Merge master into staging-next

main
github-actions[bot] 2 years ago committed by GitHub
commit b0b4881903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      maintainers/maintainer-list.nix
  2. 101
      pkgs/applications/audio/axoloti/default.nix
  3. 31
      pkgs/applications/audio/axoloti/dfu-util.nix
  4. 39
      pkgs/applications/audio/axoloti/libusb1.nix
  5. 13
      pkgs/applications/audio/sptlrx/default.nix
  6. 10
      pkgs/applications/blockchains/btcdeb/default.nix
  7. 30
      pkgs/applications/blockchains/zcash/default.nix
  8. 46
      pkgs/applications/misc/authenticator/default.nix
  9. 4
      pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
  10. 6
      pkgs/applications/science/electronics/alliance/default.nix
  11. 8
      pkgs/data/misc/hackage/pin.json
  12. 14
      pkgs/development/compilers/mruby/default.nix
  13. 10
      pkgs/development/haskell-modules/configuration-common.nix
  14. 2
      pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
  15. 1
      pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
  16. 1
      pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
  17. 1088
      pkgs/development/haskell-modules/hackage-packages.nix
  18. 6
      pkgs/development/libraries/boolstuff/default.nix
  19. 41
      pkgs/development/libraries/ctl/default.nix
  20. 2
      pkgs/development/libraries/v8/default.nix
  21. 6
      pkgs/development/python-modules/hg-commitsigs/default.nix
  22. 4
      pkgs/development/python-modules/humblewx/default.nix
  23. 4
      pkgs/development/python-modules/pynest2d/default.nix
  24. 4
      pkgs/development/python-modules/xdot/default.nix
  25. 2
      pkgs/games/blightmud/default.nix
  26. 13
      pkgs/servers/http/trafficserver/default.nix
  27. 43
      pkgs/servers/http/trafficserver/fix-catch2-version-incompatibility.patch
  28. 4
      pkgs/servers/sql/postgresql/ext/plpgsql_check.nix
  29. 4
      pkgs/tools/misc/clickclack/default.nix
  30. 18
      pkgs/tools/security/dirmngr/default.nix
  31. 5
      pkgs/tools/typesetting/sile/default.nix
  32. 5
      pkgs/top-level/aliases.nix
  33. 23
      pkgs/top-level/all-packages.nix

@ -1544,6 +1544,12 @@
githubId = 410028;
name = "Tobias Bergkvist";
};
berryp = {
email = "berryphillips@gmail.com";
github = "berryp";
githubId = 19911;
name = "Berry Phillips";
};
betaboon = {
email = "betaboon@0x80.ninja";
github = "betaboon";

@ -1,101 +0,0 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, makeWrapper, unzip
, gnumake, gcc-arm-embedded, binutils-arm-embedded
, dfu-util-axoloti, jdk, ant, libfaketime }:
stdenv.mkDerivation rec {
version = "1.0.12-2";
pname = "axoloti";
src = fetchFromGitHub {
owner = "axoloti";
repo = "axoloti";
rev = version;
sha256 = "1qffis277wshldr3i939b0r2x3a2mlr53samxqmr2nk1sfm2b4w9";
};
chibi_version = "2.6.9";
chibi_name = "ChibiOS_${chibi_version}";
chibios = fetchurl {
url = "mirror://sourceforge/project/chibios/ChibiOS_RT%20stable/Version%20${chibi_version}/${chibi_name}.zip";
sha256 = "0lb5s8pkj80mqhsy47mmq0lqk34s2a2m3xagzihalvabwd0frhlj";
};
nativeBuildInputs = [
makeWrapper
unzip
gcc-arm-embedded
binutils-arm-embedded
dfu-util-axoloti
ant
];
buildInputs = [jdk libfaketime ];
patchPhase = ''
unzip ${chibios}
mv ${chibi_name} chibios
(cd chibios/ext; unzip -q -o fatfs-0.9-patched.zip)
# Remove source of non-determinism in ChibiOS
substituteInPlace "chibios/os/various/shell.c" \
--replace "#ifdef __DATE__" "#if 0"
# Hardcode path to "make"
for f in "firmware/compile_firmware_linux.sh" \
"firmware/compile_patch_linux.sh"; do
substituteInPlace "$f" \
--replace "make" "${gnumake}/bin/make"
done
# Hardcode dfu-util path
substituteInPlace "platform_linux/upload_fw_dfu.sh" \
--replace "/bin/dfu-util" ""
substituteInPlace "platform_linux/upload_fw_dfu.sh" \
--replace "./dfu-util" "${dfu-util-axoloti}/bin/dfu-util"
# Fix build version
substituteInPlace "build.xml" \
--replace "(git missing)" "${version}"
# Remove build time
substituteInPlace "build.xml" \
--replace "<tstamp>" ""
substituteInPlace "build.xml" \
--replace \
'<format property="build.time" pattern="dd/MM/yyyy HH:mm:ss z"/>' \
'<property name="build.time" value=""/>'
substituteInPlace "build.xml" \
--replace "</tstamp>" ""
substituteInPlace "build.xml" \
--replace \
'{line.separator}</echo>' \
'{line.separator}</echo> <touch file="src/main/java/axoloti/Version.java" millis="0" />'
'';
buildPhase = ''
find . -exec touch -d '1970-01-01 00:00' {} \;
(cd platform_linux; sh compile_firmware.sh)
faketime "1970-01-01 00:00:00" ant -Dbuild.runtime=true
'';
installPhase = ''
mkdir -p $out/bin $out/share/axoloti
cp -r doc firmware chibios platform_linux CMSIS *.txt $out/share/axoloti/
install -vD dist/Axoloti.jar $out/share/axoloti/
makeWrapper ${jdk}/bin/java $out/bin/axoloti --add-flags "-Daxoloti_release=$out/share/axoloti -Daxoloti_runtime=$out/share/axoloti -jar $out/share/axoloti/Axoloti.jar"
'';
meta = with lib; {
homepage = "http://www.axoloti.com";
description = ''
Sketching embedded digital audio algorithms.
To fix permissions of the Axoloti USB device node, add a similar udev rule to <literal>services.udev.extraRules</literal>:
<literal>SUBSYSTEM=="usb", ATTR{idVendor}=="16c0", ATTR{idProduct}=="0442", OWNER="someuser", GROUP="somegroup"</literal>
'';
license = licenses.gpl3;
maintainers = with maintainers; [ ];
};
}

@ -1,31 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, libusb1-axoloti }:
stdenv.mkDerivation rec {
pname = "dfu-util";
version = "0.8";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1-axoloti ];
src = fetchurl {
url = "http://dfu-util.sourceforge.net/releases/${pname}-${version}.tar.gz";
sha256 = "0n7h08avlzin04j93m6hkq9id6hxjiiix7ff9gc2n89aw6dxxjsm";
};
meta = with lib; {
description = "Device firmware update (DFU) USB programmer";
longDescription = ''
dfu-util is a program that implements the host (PC) side of the USB
DFU 1.0 and 1.1 (Universal Serial Bus Device Firmware Upgrade) protocol.
DFU is intended to download and upload firmware to devices connected over
USB. It ranges from small devices like micro-controller boards up to mobile
phones. With dfu-util you are able to download firmware to your device or
upload firmware from it.
'';
homepage = "http://dfu-util.sourceforge.net";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ ];
};
}

@ -1,39 +0,0 @@
{ stdenv, lib, fetchurl, pkg-config, systemd, libobjc, IOKit, fetchpatch }:
stdenv.mkDerivation rec {
pname = "libusb";
version = "1.0.19";
src = fetchurl {
url = "mirror://sourceforge/libusb/libusb-${version}.tar.bz2";
sha256 = "0h38p9rxfpg9vkrbyb120i1diq57qcln82h5fr7hvy82c20jql3c";
};
outputs = [ "out" "dev" ]; # get rid of propagating systemd closure
buildInputs = [ pkg-config ];
propagatedBuildInputs = lib.optional stdenv.isLinux systemd
++ lib.optionals stdenv.isDarwin [ libobjc IOKit ];
patches = [
(fetchpatch {
name = "libusb.stdfu.patch";
url = "https://raw.githubusercontent.com/axoloti/axoloti/1.0.12/platform_linux/src/libusb.stdfu.patch";
sha256 = "194j7j61i4q6x0ihm9ms8dxd4vliw20n2rj6cm9h17qzdl9xr33d";
})
];
NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lgcc_s";
preFixup = lib.optionalString stdenv.isLinux ''
sed 's,-ludev,-L${lib.getLib systemd}/lib -ludev,' -i $out/lib/libusb-1.0.la
'';
meta = with lib; {
homepage = "http://www.libusb.info";
description = "User-space USB library";
maintainers = with maintainers; [ ];
platforms = platforms.unix;
license = licenses.lgpl21;
};
}

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, testers, sptlrx }:
{ lib, buildGoModule, fetchFromGitHub, nix-update-script, testers, sptlrx }:
buildGoModule rec {
pname = "sptlrx";
@ -15,10 +15,13 @@ buildGoModule rec {
ldflags = [ "-s" "-w" ];
passthru.tests.version = testers.testVersion {
package = sptlrx;
# TODO Wrong version in `0.2.0`. Has been fixed upstream.
version = "v0.1.0";
passthru = {
updateScript = nix-update-script { attrPath = pname; };
tests.version = testers.testVersion {
package = sptlrx;
# TODO Wrong version in `0.2.0`. Has been fixed upstream.
version = "v0.1.0";
};
};
meta = with lib; {

@ -7,14 +7,14 @@
with lib;
stdenv.mkDerivation rec {
pname = "btcdeb-unstable";
version = "200806";
pname = "btcdeb";
version = "unstable-2022-04-03";
src = fetchFromGitHub {
owner = "bitcoin-core";
repo = "btcdeb";
rev = "f6708c397c64894c9f9e31bea2d22285d9462de7";
sha256 = "0qkmf89z2n7s95vhw3n9vh9dbi14zy4vqw3ffdh1w911jwm5ry3z";
rev = "3ba1ec7f4d37f7d2ff0544403465004c6e12036e";
hash = "sha256-l/PGXXX288mnoSFZ32t2Xd13dC6JCU5wDHoDxb+fcp0=";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Bitcoin Script Debugger";
homepage = "https://github.com/kallewoof/btcdeb";
homepage = "https://github.com/bitcoin-core/btcdeb";
license = licenses.mit;
maintainers = with maintainers; [ akru ];
platforms = platforms.unix;

@ -1,18 +1,19 @@
{ rust, rustPlatform, stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook
, makeWrapper, cargo, pkg-config, curl, coreutils, boost178, db62, hexdump
, libsodium, libevent, utf8cpp, util-linux, withDaemon ? true, withMining ? true
, withUtils ? true, withWallet ? true, withZmq ? true, zeromq
, makeWrapper, cargo, pkg-config, curl, coreutils, boost179, db62, hexdump
, libsodium, libevent, testers, utf8cpp, util-linux, withDaemon ? true
, withMining ? true, withUtils ? true, withWallet ? true, withZmq ? true, zcash
, zeromq
}:
rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec {
pname = "zcash";
version = "4.7.0";
version = "5.0.0";
src = fetchFromGitHub {
owner = "zcash";
repo = "zcash";
rev = "v${version}";
sha256 = "sha256-yF+/QepSiZwsdZydWjvxDIFeFyJbJyqZmCdMyQHmrzI=";
sha256 = "sha256-5PlqFs2njqNeZgmNz0VKMWcRY5lPaF9oTsoh/uLEWi8=";
};
prePatch = lib.optionalString stdenv.isAarch64 ''
@ -21,17 +22,10 @@ rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec {
--replace "linker = \"aarch64-linux-gnu-gcc\"" ""
'';
cargoPatches = [
(fetchpatch {
url = "https://github.com/zcash/zcash/commit/61cd19a52d41d60c1987ecf269f7aa8e4d527310.diff";
sha256 = "sha256-/7T2yCSVlRN7qfFjrZlfBNMlbVHb/KRjtUBY2xFr0mo=";
})
];
cargoSha256 = "sha256-+BLfO5OnCBqQTIqMXKJdoPCRgtENa+m0WOHKG9gkdMk=";
cargoSha256 = "sha256-eRRRjUbOieRC88wf+f1jAYvqGFmogBEla67NnImicEc=";
nativeBuildInputs = [ autoreconfHook cargo hexdump makeWrapper pkg-config ];
buildInputs = [ boost178 libevent libsodium utf8cpp ]
buildInputs = [ boost179 libevent libsodium utf8cpp ]
++ lib.optional withWallet db62
++ lib.optional withZmq zeromq;
@ -50,7 +44,7 @@ rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec {
configureFlags = [
"--disable-tests"
"--with-boost-libdir=${lib.getLib boost178}/lib"
"--with-boost-libdir=${lib.getLib boost179}/lib"
"CXXFLAGS=-I${lib.getDev utf8cpp}/include/utf8cpp"
"RUST_TARGET=${rust.toRustTargetSpec stdenv.hostPlatform}"
] ++ lib.optional (!withWallet) "--disable-wallet"
@ -63,6 +57,12 @@ rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec {
# Requires hundreds of megabytes of zkSNARK parameters.
doCheck = false;
passthru.tests.version = testers.testVersion {
package = zcash;
command = "zcashd --version";
version = "v${zcash.version}";
};
postInstall = ''
wrapProgram $out/bin/zcash-fetch-params \
--set PATH ${lib.makeBinPath [ coreutils curl util-linux ]}

@ -3,11 +3,11 @@
, fetchFromGitLab
, fetchpatch
, appstream-glib
, clang
, desktop-file-utils
, meson
, ninja
, pkg-config
, python3
, rustPlatform
, wrapGAppsHook
, gdk-pixbuf
@ -15,7 +15,9 @@
, gst_all_1
, gtk4
, libadwaita
, libclang
, openssl
, pipewire
, sqlite
, wayland
, zbar
@ -23,33 +25,29 @@
stdenv.mkDerivation rec {
pname = "authenticator";
version = "4.0.3";
version = "4.1.1";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "Authenticator";
rev = version;
sha256 = "0fvs76f3fm5pxn7wg6sjbqpgip5w2j7xrh4siasdcl2bx6vsld8b";
hash = "sha256-wl7wyj0vVDkOB7XKQFOEFzCmffTsrUsaM83fWgZ6tG0=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
sha256 = "1s97jyszxf24rs3ni11phiyvmp1wm8sicb0rh1jgwz4bn1cnakx4";
hash = "sha256-3SzemDjLsZUXPPtSlDMBQXQf5P3Sz8caJL73mHRv1js=";
};
postPatch = ''
patchShebangs build-aux
'';
nativeBuildInputs = [
appstream-glib
clang
desktop-file-utils
meson
ninja
pkg-config
python3
wrapGAppsHook
] ++ (with rustPlatform; [
cargoSetupHook
@ -62,39 +60,23 @@ stdenv.mkDerivation rec {
glib
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
# gst-plugins-good needs gtk4 support:
# https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/767
# We copy the way it is built from the Flatpak:
# https://gitlab.gnome.org/World/Authenticator/-/blob/master/build-aux/com.belmoussaoui.Authenticator.Devel.json
(gst_all_1.gst-plugins-good.overrideAttrs (old: {
patches = old.patches or [ ] ++ [
"${src}/build-aux/767.patch"
];
mesonFlags = old.mesonFlags ++ [
"-Dgtk3=disabled"
"-Dgtk4=enabled"
"-Dgtk4-experiments=true"
];
buildInputs = old.buildInputs ++ [
gtk4
];
}))
(gst_all_1.gst-plugins-bad.override { enableZbar = true; })
gtk4
libadwaita
openssl
pipewire
sqlite
wayland
zbar
];
meta = with lib; {
broken = true; # https://gitlab.gnome.org/World/Authenticator/-/issues/271
LIBCLANG_PATH = "${lib.getLib libclang}/lib";
meta = {
description = "Two-factor authentication code generator for GNOME";
homepage = "https://gitlab.gnome.org/World/Authenticator";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
platforms = lib.platforms.linux;
};
}

@ -24,7 +24,7 @@ let
in stdenv.mkDerivation rec {
pname = "signal-desktop";
version = "5.42.0"; # Please backport all updates to the stable channel.
version = "5.43.0"; # Please backport all updates to the stable channel.
# All releases have a limited lifetime and "expire" 90 days after the release.
# When releases "expire" the application becomes unusable until an update is
# applied. The expiration date for the current release can be extracted with:
@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
sha256 = "sha256-xjSj7eKaDV8WB0SiPb4orxKK8mV2a2EWiMBK7BE8mgU=";
sha256 = "sha256-DYJ3WZbaalKhQXhVQO3qhJiGj92Cc+pwRDx/YBIi6gg=";
};
nativeBuildInputs = [

@ -4,14 +4,14 @@
stdenv.mkDerivation rec {
pname = "alliance";
version = "unstable-2021-09-15";
version = "unstable-2022-01-13";
src = fetchFromGitLab {
domain = "gitlab.lip6.fr";
owner = "vlsi-eda";
repo = "alliance";
rev = "5e83c92d0307cce9d599f7099fb0023f81d26d65";
sha256 = "Vd3MTT4eKn4FMt0/F4fQUPcWq25kH0FpeGxQUOetKPY=";
rev = "ebece102e15c110fc79f1da50524c68fd9523f0c";
hash = "sha256-NGtE3ZmN9LrgXG4NIKrp7dFRVzrKMoudlPUtYYKrZjY=";
};
prePatch = "cd alliance/src";

@ -1,6 +1,6 @@
{
"commit": "78324aa49909392e169c86bbfd204694523907e8",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/78324aa49909392e169c86bbfd204694523907e8.tar.gz",
"sha256": "15k5ag36asswwv8yazq53lkj9blnz4hzlq23cznvvk5pkjpdm0ni",
"msg": "Update from Hackage at 2022-05-05T15:07:55Z"
"commit": "38aa99a1623af5371157721c2a4b033b828e9938",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/38aa99a1623af5371157721c2a4b033b828e9938.tar.gz",
"sha256": "0phak7cjg3nrj5i3ih2k95hcwx25s6zijbp81ycqd0yb108gvw34",
"msg": "Update from Hackage at 2022-05-10T13:45:20Z"
}

@ -1,24 +1,16 @@
{ lib, stdenv, ruby, bison, rake, fetchFromGitHub, fetchpatch }:
{ lib, stdenv, ruby, bison, rake, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "mruby";
version = "3.0.0";
version = "3.1.0";
src = fetchFromGitHub {
owner = "mruby";
repo = "mruby";
rev = version;
sha256 = "sha256-C3K7ZooaOMa+V2HjxwiKxrrMb7ffl4QAgPsftRtb60c=";
sha256 = "0gnzip7qfadnl0r1k8bpc9a6796sy503h77ggds02wrz7mpq32nf";
};
patches = [
(fetchpatch {
name = "CVE-2022-1212.patch";
url = "https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6.patch";
sha256 = "1bl8wm6v7v18zgxqvm4kbn8g97a75phzrdah279xqw1qvplbd2w7";
})
];
nativeBuildInputs = [ ruby bison rake ];
# Necessary so it uses `gcc` instead of `ld` for linking.

@ -334,15 +334,7 @@ self: super: {
matplotlib = dontCheck super.matplotlib;
# https://github.com/matterhorn-chat/matterhorn/issues/679 they do not want to be on stackage
matterhorn = doJailbreak (super.matterhorn.overrideScope (self: super: {
brick = self.brick_0_64_2;
# Doesn't support aeson 2.0
# https://github.com/matterhorn-chat/matterhorn/issues/759
aeson = self.aeson_1_5_6_0;
}));
mattermost-api = super.mattermost-api.override {
aeson = self.aeson_1_5_6_0;
};
matterhorn = doJailbreak super.matterhorn;
memcache = dontCheck super.memcache;
metrics = dontCheck super.metrics;

@ -118,7 +118,7 @@ self: super: {
liquidhaskell = markBroken super.liquidhaskell;
# This became a core library in ghc 8.10., so we don‘t have an "exception" attribute anymore.
exceptions = super.exceptions_0_10_4;
exceptions = super.exceptions_0_10_5;
# ghc versions which don‘t match the ghc-lib-parser-ex version need the
# additional dependency to compile successfully.

@ -3082,6 +3082,7 @@ broken-packages:
- LTS
- lua-bc
- luautils
- lucid2
- lucid-htmx
- lucid-hyperscript
- luis-client

@ -118,7 +118,6 @@ extra-packages:
- ghc-lib-parser == 8.10.7.* # 2022-02-17: preserve for GHC 8.10.7
- ghc-lib-parser-ex == 8.10.* # 2022-02-17: preserve for GHC 8.10.7
- doctest == 0.18.* # 2021-11-19: closest to stackage version for GHC 9.*
- brick == 0.64.* # 2021-12-03: matterhorn depends on brick < 0.65
- path == 0.9.0 # 2021-12-03: path version building with stackage genvalidity and GHC 9.0.2
- ormolu == 0.2.* # 2022-02-21: For ghc 8.8 and 8.10
- ShellCheck == 0.7.2 # 2022-02-20: haskell-ci 0.14 needs this

File diff suppressed because it is too large Load Diff

@ -1,11 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config }:
stdenv.mkDerivation rec {
pname = "boolstuff";
version = "0.1.16";
version = "0.1.17";
src = fetchurl {
url = "https://perso.b2b2c.ca/~sarrazip/dev/${pname}-${version}.tar.gz";
sha256 = "10qynbyw723gz2vrvn4xk2var172kvhlz3l3l80qbdsfb3d12wn0";
url = "http://perso.b2b2c.ca/~sarrazip/dev/${pname}-${version}.tar.gz";
hash = "sha256-WPFUoTUofigPxTRo6vUbVTEVWMeEPDWszCA05toOX0I=";
};
nativeBuildInputs = [ pkg-config ];

@ -1,41 +0,0 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, ilmbase, libtiff, openexr }:
stdenv.mkDerivation rec {
pname = "ctl";
version = "1.5.2";
src = fetchFromGitHub {
owner = "ampas";
repo = pname;
rev = "${pname}-${version}";
sha256 = "0a698rd1cmixh3mk4r1xa6rjli8b8b7dbx89pb43xkgqxy67glwx";
};
patches = [
(fetchpatch {
name = "ctl-1.5.2-ilm_230.patch";
url = "https://src.fedoraproject.org/rpms/CTL/raw/9d7c15a91bccdc0a9485d463bf2789be72e6b17d/f/ctl-1.5.2-ilm_230.patch";
sha256 = "0mdx7llwrm0q8ai53zhyxi40i9h5s339dbkqpqv30yzi2xpnfj3d";
})
];
postPatch = ''
# Fix include guard name
substituteInPlace lib/dpx/dpx_raw.hh \
--replace CRL_DPX_RAW_INTERNAL_INCLUDE CTL_DPX_RAW_INTERNAL_INCLUDE
# Fix undefined symbols (link with Imath)
substituteInPlace lib/IlmCtlMath/CMakeLists.txt \
--replace "( IlmCtlMath IlmCtl )" "( IlmCtlMath IlmCtl Imath)"
'';
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libtiff ilmbase openexr ];
meta = with lib; {
description = "Color Transformation Language";
homepage = "https://github.com/ampas/CTL";
license = "A.M.P.A.S"; # BSD-derivative, free but GPL incompatible
platforms = platforms.all;
};
}

@ -165,5 +165,7 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ cstrahan proglodyte matthewbauer ];
platforms = platforms.unix;
license = licenses.bsd3;
# Fails to build on Darwin, see https://github.com/NixOS/nixpkgs/issues/158076
broken = stdenv.isDarwin;
};
}

@ -1,7 +1,7 @@
{ lib
, fetchhg
, stdenv
, python3
, python
}:
stdenv.mkDerivation rec {
@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
dontBuild = true;
installPhase = ''
mkdir -p $out/lib/${python3.libPrefix}/site-packages/hgext3rd/
mkdir -p $out/lib/${python.libPrefix}/site-packages/hgext3rd/
install -D $src/commitsigs.py \
$out/lib/${python3.libPrefix}/site-packages/hgext3rd/
$out/lib/${python.libPrefix}/site-packages/hgext3rd/
'';
meta = with lib; {

@ -2,7 +2,7 @@
, fetchFromGitHub
, buildPythonPackage
, wxPython_4_0
, python3
, python
}:
buildPythonPackage rec {
@ -22,7 +22,7 @@ buildPythonPackage rec {
checkPhase = ''
runHook preCheck
for i in examples/*; do
${python3.interpreter} $i
${python.interpreter} $i
done
runHook postCheck
'';

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, python3, cmake
{ lib, buildPythonPackage, fetchFromGitHub, python, cmake
, libnest2d, sip_4, clipper }:
buildPythonPackage rec {
@ -19,7 +19,7 @@ buildPythonPackage rec {
CLIPPER_PATH = "${clipper.out}";
postPatch = ''
sed -i 's#''${Python3_SITEARCH}#${placeholder "out"}/${python3.sitePackages}#' cmake/SIPMacros.cmake
sed -i 's#''${Python3_SITEARCH}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
'';
meta = with lib; {

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, python3, xvfb-run
{ lib, buildPythonPackage, fetchPypi, isPy3k, python, xvfb-run
, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gtk3, numpy }:
buildPythonPackage rec {
@ -20,7 +20,7 @@ buildPythonPackage rec {
'';
checkPhase = ''
xvfb-run -s '-screen 0 800x600x24' ${python3.interpreter} nix_run_setup test
xvfb-run -s '-screen 0 800x600x24' ${python.interpreter} nix_run_setup test
'';
# https://github.com/NixOS/nixpkgs/pull/107872#issuecomment-752175866

@ -75,5 +75,7 @@ rustPlatform.buildRustPackage rec {
license = licenses.gpl3Plus;
maintainers = with maintainers; [ cpu ];
platforms = platforms.linux;
# See https://github.com/NixOS/nixpkgs/pull/160120
broken = withTTS;
};
}

@ -50,11 +50,11 @@
stdenv.mkDerivation rec {
pname = "trafficserver";
version = "9.1.1";
version = "9.1.2";
src = fetchzip {
url = "mirror://apache/trafficserver/trafficserver-${version}.tar.bz2";
sha256 = "sha256-oicRqKFE6hOpcNG9o3BmrMujtEzi4hrPhBWaljOW+VI=";
sha256 = "sha256-eRpyTdwwO5EzrVpt9fF6VEYGZjHb905nQJd065wY5RU=";
};
patches = [
@ -65,12 +65,7 @@ stdenv.mkDerivation rec {
sha256 = "0z1ikgpp00rzrrcqh97931586yn9wbksgai9xlkcjd5cg8gq0150";
})
# Fix build against ncurses-6.3:
# https://github.com/apache/trafficserver/pull/8437
(fetchpatch {
url = "https://github.com/apache/trafficserver/commit/66c86c6b082903a92b9db33c60e3ed947e77d540.patch";
sha256 = "1hgpp80xnnjr4k5i6gcllrb7dw4q4xcdrkwxpc1xk2np5cbyxd16";
})
./fix-catch2-version-incompatibility.patch
];
# NOTE: The upstream README indicates that flex is needed for some features,
@ -115,6 +110,8 @@ stdenv.mkDerivation rec {
substituteInPlace configure --replace '/usr/bin/file' '${file}/bin/file'
# TODO: remove after the following change has been released
# https://github.com/apache/trafficserver/pull/8683
cp ${catch2}/include/catch2/catch.hpp tests/include/catch.hpp
'' + lib.optionalString stdenv.isLinux ''
substituteInPlace configure \

@ -0,0 +1,43 @@
diff --git a/src/tscore/unit_tests/test_History.cc b/src/tscore/unit_tests/test_History.cc
index 3e699139da0..7505f10aa4c 100644
--- a/src/tscore/unit_tests/test_History.cc
+++ b/src/tscore/unit_tests/test_History.cc
@@ -59,10 +59,10 @@ TEST_CASE("History", "[libts][History]")
REQUIRE(history[2].reentrancy == static_cast<short>(NO_REENTRANT));
history[0].location.str(buf, sizeof(buf));
- REQUIRE(string_view{buf} == "test_History.cc:48 (____C_A_T_C_H____T_E_S_T____0)");
+ REQUIRE(string_view{buf} == "test_History.cc:48 (C_A_T_C_H_T_E_S_T_0)");
history[1].location.str(buf, sizeof(buf));
- REQUIRE(string_view{buf} == "test_History.cc:49 (____C_A_T_C_H____T_E_S_T____0)");
+ REQUIRE(string_view{buf} == "test_History.cc:49 (C_A_T_C_H_T_E_S_T_0)");
ts::LocalBufferWriter<128> w;
SM<HISTORY_DEFAULT_SIZE> *sm = new SM<HISTORY_DEFAULT_SIZE>;
@@ -71,10 +71,10 @@ TEST_CASE("History", "[libts][History]")
SM_REMEMBER(sm, 3, NO_REENTRANT);
w.print("{}", sm->history[0].location);
- REQUIRE(w.view() == "test_History.cc:69 (____C_A_T_C_H____T_E_S_T____0)");
+ REQUIRE(w.view() == "test_History.cc:69 (C_A_T_C_H_T_E_S_T_0)");
w.reset().print("{}", sm->history[1].location);
- REQUIRE(w.view() == "test_History.cc:70 (____C_A_T_C_H____T_E_S_T____0)");
+ REQUIRE(w.view() == "test_History.cc:70 (C_A_T_C_H_T_E_S_T_0)");
REQUIRE(sm->history[0].event == 1);
REQUIRE(sm->history[0].reentrancy == 1);
@@ -106,10 +106,10 @@ TEST_CASE("History", "[libts][History]")
REQUIRE(sm2->history.overflowed() == true);
w.reset().print("{}", sm2->history[0].location);
- REQUIRE(w.view() == "test_History.cc:103 (____C_A_T_C_H____T_E_S_T____0)");
+ REQUIRE(w.view() == "test_History.cc:103 (C_A_T_C_H_T_E_S_T_0)");
w.reset().print("{}", sm2->history[1].location);
- REQUIRE(w.view() == "test_History.cc:98 (____C_A_T_C_H____T_E_S_T____0)");
+ REQUIRE(w.view() == "test_History.cc:98 (C_A_T_C_H_T_E_S_T_0)");
sm2->history.clear();
REQUIRE(sm2->history.size() == 0);

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "plpgsql_check";
version = "2.1.3";
version = "2.1.5";
src = fetchFromGitHub {
owner = "okbob";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hVbx1eUrVQ35UzcokoqYCi6RFI5Dn7t9XH8q9VbyDbQ=";
sha256 = "sha256-DYdZuHraecQZ33xHX6ugiUJVfFVAayD2spIQt2Qqa5U=";
};
buildInputs = [ postgresql ];

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "clickclack";
version = "0.2.2";
version = "0.2.3";
src = fetchFromSourcehut {
owner = "~proycon";
repo = "clickclack";
rev = version;
hash = "sha256-ABVfJRSzbQ6jIpON2g2wS52QsyNQVfW6+AhTvjkkf6s=";
hash = "sha256-YmlbGEmZgT/30c+mWQzdz4rKc69d75zhoNUA5FdxdMc=";
};
buildInputs = [

@ -1,18 +0,0 @@
{ lib, stdenv, fetchurl, libgpg-error, libgcrypt, libassuan, libksba, pth, openldap
, libiconv}:
stdenv.mkDerivation rec {
pname = "dirmngr";
version = "1.1.1";
src = fetchurl {
url = "mirror://gnupg/dirmngr/dirmngr-${version}.tar.bz2";
sha256 = "1zz6m87ca55nq5f59hzm6qs48d37h93il881y7d0rf2d6660na6j";
};
buildInputs = [ libgpg-error libgcrypt libassuan libksba
pth openldap libiconv ];
meta = {
platforms = lib.platforms.unix;
license = lib.licenses.gpl2Plus;
};
}

@ -18,7 +18,6 @@ let
luaEnv = lua.withPackages(ps: with ps; [
cassowary
cosmo
compat53
linenoise
lpeg
lua-zlib
@ -33,6 +32,10 @@ let
penlight
stdlib
vstruct
] ++ lib.optionals (lib.versionOlder lua.luaversion "5.2") [
bit32
] ++ lib.optionals (lib.versionOlder lua.luaversion "5.3") [
compat53
]);
in

@ -94,6 +94,7 @@ mapAliases ({
avxsynth = throw "avxsynth was removed because it was broken"; # Added 2021-05-18
awesome-4-0 = awesome; # Added 2022-05-05
aws-okta = throw "aws-okta is on indefinite hiatus. See https://github.com/segmentio/aws-okta/issues/278"; # Added 2022-04-05;
axoloti = throw "axoloti has been removed: abandoned by upstream"; # Added 2022-05-13
azureus = throw "azureus is now known as vuze and the version in nixpkgs was really outdated"; # Added 2021-08-02
### B ###
@ -205,6 +206,7 @@ mapAliases ({
cpuminer-multi = throw "cpuminer-multi has been removed: deleted by upstream"; # Added 2022-01-07
crafty = throw "crafty has been removed: deleted by upstream"; # Added 2022-01-07
cryptol = throw "cryptol was removed due to prolonged broken build"; # Added 2020-08-21
ctl = throw "ctl has been removed: abandoned by upstream"; # Added 2022-05-13
# CUDA Toolkit
cudatoolkit_6 = throw "cudatoolkit_6 has been removed in favor of newer versions"; # Added 2021-02-14
@ -315,8 +317,10 @@ mapAliases ({
demjson = with python3Packages; toPythonApplication demjson; # Added 2022-01-18
desktop_file_utils = throw "'desktop_file_utils' has been renamed to/replaced by 'desktop-file-utils'"; # Converted to throw 2022-02-22
devicemapper = throw "'devicemapper' has been renamed to/replaced by 'lvm2'"; # Converted to throw 2022-02-22
dfu-util-axoloti = throw "dfu-util-axoloti has been removed: abandoned by upstream"; # Added 2022-05-13
dhall-text = throw "'dhall-text' has been deprecated in favor of the 'dhall text' command from 'dhall'"; # Added 2022-03-26
digikam5 = throw "'digikam5' has been renamed to/replaced by 'digikam'"; # Converted to throw 2022-02-22
dirmngr = throw "dirmngr has been removed: merged into gnupg"; # Added 2022-05-13
disper = throw "disper has been removed: abandoned by upstream"; # Added 2022-03-18
displaycal = throw "displaycal has been removed from nixpkgs, as it hasn't migrated to python3"; # Added 2022-01-12
dmtx = throw "'dmtx' has been renamed to/replaced by 'dmtx-utils'"; # Converted to throw 2022-02-22
@ -695,6 +699,7 @@ mapAliases ({
libudev = throw "'libudev' has been renamed to/replaced by 'udev'"; # Converted to throw 2022-02-22
libungif = giflib; # Added 2020-02-12
libusb = libusb1; # Added 2020-04-28
libusb1-axoloti = throw "libusb1-axoloti has been removed: axoloti has been removed"; # Added 2022-05-13
libva-full = throw "'libva-full' has been renamed to/replaced by 'libva'"; # Converted to throw 2022-02-22
libva1-full = throw "'libva1-full' has been renamed to/replaced by 'libva1'"; # Converted to throw 2022-02-22
libwnck3 = libwnck;

@ -1998,7 +1998,9 @@ with pkgs;
bonnmotion = callPackage ../development/tools/misc/bonnmotion { };
bonnie = callPackage ../tools/filesystems/bonnie { };
bonnie = callPackage ../tools/filesystems/bonnie {
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
};
botamusique = callPackage ../tools/audio/botamusique { };
@ -2562,17 +2564,6 @@ with pkgs;
libssl = openssl;
};
axoloti = callPackage ../applications/audio/axoloti {
gcc-arm-embedded = pkgsCross.arm-embedded.buildPackages.gcc;
binutils-arm-embedded = pkgsCross.arm-embedded.buildPackages.binutils;
jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
};
dfu-util-axoloti = callPackage ../applications/audio/axoloti/dfu-util.nix { };
libusb1-axoloti = callPackage ../applications/audio/axoloti/libusb1.nix {
inherit (darwin) libobjc;
inherit (darwin.apple_sdk.frameworks) IOKit;
};
b3sum = callPackage ../tools/security/b3sum {};
backblaze-b2 = callPackage ../development/tools/backblaze-b2 { };
@ -5212,8 +5203,6 @@ with pkgs;
wgetpaste = callPackage ../tools/text/wgetpaste { };
dirmngr = callPackage ../tools/security/dirmngr { };
dismap = callPackage ../tools/security/dismap { };
dirvish = callPackage ../tools/backup/dirvish { };
@ -16831,7 +16820,9 @@ with pkgs;
classads = callPackage ../development/libraries/classads { };
clfft = callPackage ../development/libraries/clfft { };
clfft = callPackage ../development/libraries/clfft {
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
};
clipp = callPackage ../development/libraries/clipp { };
@ -16884,8 +16875,6 @@ with pkgs;
python-cosmopolitan = callPackage ../development/interpreters/python-cosmopolitan { };
ctl = callPackage ../development/libraries/ctl { };
ctpp2 = callPackage ../development/libraries/ctpp2 { };
ctpl = callPackage ../development/libraries/ctpl { };

Loading…
Cancel
Save