From 3446cf39b4d06db9f27de1b484e4868eab0d3e80 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Thu, 26 Mar 2020 11:30:37 +0100 Subject: [PATCH 01/48] cryptomator: init at 1.5.13 Co-authored-by: Artur Taranchiev --- pkgs/tools/security/cryptomator/default.nix | 91 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 93 insertions(+) create mode 100644 pkgs/tools/security/cryptomator/default.nix diff --git a/pkgs/tools/security/cryptomator/default.nix b/pkgs/tools/security/cryptomator/default.nix new file mode 100644 index 00000000000..c866a527768 --- /dev/null +++ b/pkgs/tools/security/cryptomator/default.nix @@ -0,0 +1,91 @@ +{ lib, stdenv, fetchFromGitHub +, autoPatchelfHook +, fuse, packer +, maven, jdk, jre, makeWrapper, glib, wrapGAppsHook +}: + +let + pname = "cryptomator"; + version = "1.5.13"; + + src = fetchFromGitHub { + owner = "cryptomator"; + repo = "cryptomator"; + rev = version; + sha256 = "1s9jl3nl6yfjzmilz9b8azk8592nd39xflzfdf38v6s4iiq86r8j"; + }; + + icons = fetchFromGitHub { + owner = "cryptomator"; + repo = "cryptomator-linux"; + rev = version; + sha256 = "1x6h6wp6yxnj576874xj3d2jm8jmb7918wprqvlz4sryxhlcssa7"; + }; + + # perform fake build to make a fixed-output derivation out of the files downloaded from maven central (120MB) + deps = stdenv.mkDerivation { + name = "cryptomator-${version}-deps"; + inherit src; + + nativeBuildInputs = [ jdk maven ]; + + buildPhase = '' + cd main + while mvn -Prelease package -Dmaven.repo.local=$out/.m2 -Dmaven.wagon.rto=5000; [ $? = 1 ]; do + echo "timeout, restart maven to continue downloading" + done + ''; + + # keep only *.{pom,jar,sha1,nbm} and delete all ephemeral files with lastModified timestamps inside + installPhase = '' + find $out/.m2 -type f -regex '.+\(\.lastUpdated\|resolver-status\.properties\|_remote\.repositories\)' -delete + find $out/.m2 -type f -iname '*.pom' -exec sed -i -e 's/\r\+$//' {} \; + ''; + + outputHashAlgo = "sha256"; + outputHashMode = "recursive"; + outputHash = "06q8bqdz3c4i84wxl9z5861zwdsw8jzcvsbgxqrnh8rwi7500sa7"; + }; + +in stdenv.mkDerivation rec { + inherit pname version src; + + buildPhase = '' + cd main + mvn -Prelease package --offline -Dmaven.repo.local=$(cp -dpR ${deps}/.m2 ./ && chmod +w -R .m2 && pwd)/.m2 + ''; + + installPhase = '' + mkdir -p $out/bin/ $out/usr/share/cryptomator/libs/ + + cp buildkit/target/libs/* buildkit/target/linux-libs/* $out/usr/share/cryptomator/libs/ + + makeWrapper ${jre}/bin/java $out/bin/cryptomator \ + --add-flags "-classpath '$out/usr/share/cryptomator/libs/*'" \ + --add-flags "-Dcryptomator.settingsPath='~/.config/Cryptomator/settings.json'" \ + --add-flags "-Dcryptomator.ipcPortPath='~/.config/Cryptomator/ipcPort.bin'" \ + --add-flags "-Dcryptomator.logDir='~/.local/share/Cryptomator/logs'" \ + --add-flags "-Dcryptomator.mountPointsDir='~/.local/share/Cryptomator/mnt'" \ + --add-flags "-Djdk.gtk.version=3" \ + --add-flags "-Xss20m" \ + --add-flags "-Xmx512m" \ + --add-flags "org.cryptomator.launcher.Cryptomator" \ + --prefix PATH : "$out/usr/share/cryptomator/libs/:${lib.makeBinPath [ jre glib ]}" \ + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ fuse ]}" \ + --set JAVA_HOME "${jre.home}" + + # install desktop entry and icons + cp -r ${icons}/resources/appimage/AppDir/usr $out/ + ''; + + nativeBuildInputs = [ autoPatchelfHook maven makeWrapper wrapGAppsHook jdk ]; + buildInputs = [ fuse packer jre glib ]; + + meta = with lib; { + description = "Free client-side encryption for your cloud files"; + homepage = "https://cryptomator.org"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ bachp ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 33f572ed600..00fbbf42eaa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18888,6 +18888,8 @@ in criu = callPackage ../os-specific/linux/criu { }; + cryptomator = callPackage ../tools/security/cryptomator { }; + cryptsetup = callPackage ../os-specific/linux/cryptsetup { }; cramfsprogs = callPackage ../os-specific/linux/cramfsprogs { }; From aed7c9a22a8e9c28735a903359a948e50b0b7eb5 Mon Sep 17 00:00:00 2001 From: Tyson Whitehead Date: Thu, 25 Feb 2021 15:27:02 -0500 Subject: [PATCH 02/48] stage-1: accept init symlinks at any level --- nixos/modules/system/boot/stage-1-init.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh index 5b39f34200c..ddaf985878e 100644 --- a/nixos/modules/system/boot/stage-1-init.sh +++ b/nixos/modules/system/boot/stage-1-init.sh @@ -614,11 +614,16 @@ echo /sbin/modprobe > /proc/sys/kernel/modprobe # Start stage 2. `switch_root' deletes all files in the ramfs on the -# current root. Note that $stage2Init might be an absolute symlink, -# in which case "-e" won't work because we're not in the chroot yet. -if [ ! -e "$targetRoot/$stage2Init" ] && [ ! -L "$targetRoot/$stage2Init" ] ; then - echo "stage 2 init script ($targetRoot/$stage2Init) not found" - fail +# current root. The path has to be valid in the chroot not outside. +if [ ! -e "$targetRoot/$stage2Init" ]; then + stage2Check=${stage2Init} + while [ "$stage2Check" != "${stage2Check%/*}" ] && [ ! -L "$targetRoot/$stage2Check" ]; do + stage2Check=${stage2Check%/*} + done + if [ ! -L "$targetRoot/$stage2Check" ]; then + echo "stage 2 init script ($targetRoot/$stage2Init) not found" + fail + fi fi mkdir -m 0755 -p $targetRoot/proc $targetRoot/sys $targetRoot/dev $targetRoot/run From 41a95ce500603492f562612a4539de30c66fb936 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 28 Feb 2021 10:12:18 +0100 Subject: [PATCH 03/48] wine{Unstable,Staging}: 6.2 -> 6.3 --- pkgs/misc/emulators/wine/sources.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/emulators/wine/sources.nix b/pkgs/misc/emulators/wine/sources.nix index d69f38decec..1bcd08e6f40 100644 --- a/pkgs/misc/emulators/wine/sources.nix +++ b/pkgs/misc/emulators/wine/sources.nix @@ -44,9 +44,9 @@ in rec { unstable = fetchurl rec { # NOTE: Don't forget to change the SHA256 for staging as well. - version = "6.2"; + version = "6.3"; url = "https://dl.winehq.org/wine/source/6.x/wine-${version}.tar.xz"; - sha256 = "sha256-tmCWCaOrzGrZJ83WXHQL4BFiuAFSPg97qf1mkYALvxk="; + sha256 = "sha256-aCp3wf0S9WNHyiCA2F/hfe8bZV0yQdlFgvh1kdnQzDs="; inherit (stable) mono gecko32 gecko64; patches = [ @@ -58,7 +58,7 @@ in rec { staging = fetchFromGitHub rec { # https://github.com/wine-staging/wine-staging/releases inherit (unstable) version; - sha256 = "sha256-swhd5gTIWTz8eEk6f78iXG8bmA3y4ynO0/wBm0/Kimk="; + sha256 = "sha256-Fok0jdGBQtH84PL6LVnuCR7ZVSUIHECqPUI/2lLXs44="; owner = "wine-staging"; repo = "wine-staging"; rev = "v${version}"; From e3dd2def91d06804640116af8abbe0c5b5949b05 Mon Sep 17 00:00:00 2001 From: Misha Gusarov Date: Sun, 28 Feb 2021 16:48:56 +0000 Subject: [PATCH 04/48] linux-pam: Optionally build with libxcrypt This enables support for new password hashing functions in PAM. A part of #112371. --- pkgs/os-specific/linux/pam/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix index a697bb17a43..fb993699494 100644 --- a/pkgs/os-specific/linux/pam/default.nix +++ b/pkgs/os-specific/linux/pam/default.nix @@ -1,5 +1,6 @@ { lib, stdenv, buildPackages, fetchurl, flex, cracklib, db4, gettext , nixosTests +, withLibxcrypt ? false, libxcrypt }: stdenv.mkDerivation rec { @@ -17,7 +18,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ flex ] ++ lib.optional stdenv.buildPlatform.isDarwin gettext; - buildInputs = [ cracklib db4 ]; + buildInputs = [ cracklib db4 ] + ++ lib.optional withLibxcrypt libxcrypt; enableParallelBuilding = true; From 969b6dc4ab16fc83db01800ca54dd81693d5fc7d Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Fri, 26 Feb 2021 19:09:49 +0100 Subject: [PATCH 05/48] pythonPackages.tqdm: 4.54.1 -> 4.58.0 * Remove some now unnecessary checkInputs * add pandas, rich, numpy and tkinter to checkInput which enables tests of optional tqdm features. --- .../python-modules/tqdm/default.nix | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/tqdm/default.nix b/pkgs/development/python-modules/tqdm/default.nix index ba40723e7dd..950a618a527 100644 --- a/pkgs/development/python-modules/tqdm/default.nix +++ b/pkgs/development/python-modules/tqdm/default.nix @@ -1,28 +1,39 @@ { lib , buildPythonPackage , fetchPypi -, nose -, coverage -, glibcLocales -, flake8 , setuptools_scm , pytestCheckHook +, pytest-asyncio +, pytest-timeout +, numpy +, pandas +, rich +, tkinter }: buildPythonPackage rec { pname = "tqdm"; - version = "4.54.1"; + version = "4.58.0"; src = fetchPypi { inherit pname version; - sha256 = "1x9chlh3msikddmq8p8p5s5kgqqs48bclxgzz3vb9ygcwjimidiq"; + sha256 = "1fjvaag1wy70gglxjkfnn0acrya7fbhzi4adbs1bpap8x03wffn2"; }; nativeBuildInputs = [ setuptools_scm ]; - checkInputs = [ nose coverage glibcLocales flake8 pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + pytest-asyncio + pytest-timeout + # tests of optional features + numpy + pandas + rich + tkinter + ]; # Remove performance testing. # Too sensitive for on Hydra. From 0e3d110b2c2dbed0254eecacb9dc9c74298eafd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 23 Feb 2021 16:32:35 +0100 Subject: [PATCH 06/48] pythonPackages.jq: disable tests, add pythonImportsCheck --- pkgs/development/python-modules/jq/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/jq/default.nix b/pkgs/development/python-modules/jq/default.nix index 3d4097b0718..271f15c5900 100644 --- a/pkgs/development/python-modules/jq/default.nix +++ b/pkgs/development/python-modules/jq/default.nix @@ -8,10 +8,15 @@ buildPythonPackage rec { inherit pname version; sha256 = "62d649c4f6f26ed91810c8db075f5fe05319c3dc99dbebcd2d31b0b697a4592e"; }; + patches = [ ./jq-py-setup.patch ]; buildInputs = [ jq ]; + # no tests executed + doCheck = false; + pythonImportsCheck = [ "jq" ]; + meta = { description = "Python bindings for jq, the flexible JSON processor"; homepage = "https://github.com/mwilliamson/jq.py"; From 9c4b55a2cf4704828844418389f4059ca48e793f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 27 Feb 2021 15:57:25 +0100 Subject: [PATCH 07/48] ledger-live-desktop: remove unused inputs --- pkgs/applications/blockchains/ledger-live-desktop/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/blockchains/ledger-live-desktop/default.nix b/pkgs/applications/blockchains/ledger-live-desktop/default.nix index d130b3d0454..3d72a91551f 100644 --- a/pkgs/applications/blockchains/ledger-live-desktop/default.nix +++ b/pkgs/applications/blockchains/ledger-live-desktop/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchurl, makeDesktopItem, appimageTools, imagemagick }: +{ lib, fetchurl, appimageTools, imagemagick }: let pname = "ledger-live-desktop"; From 8b34b766f2d3cf339afd072e59f3e4d6fc58ccd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 27 Feb 2021 15:57:42 +0100 Subject: [PATCH 08/48] ripcord: remove unused inputs, format --- .../instant-messengers/ripcord/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/ripcord/default.nix b/pkgs/applications/networking/instant-messengers/ripcord/default.nix index e5221d861d3..6d6e70ff26a 100755 --- a/pkgs/applications/networking/instant-messengers/ripcord/default.nix +++ b/pkgs/applications/networking/instant-messengers/ripcord/default.nix @@ -1,7 +1,7 @@ -{ lib, mkDerivation, fetchurl, makeFontsConf, appimageTools, - qtbase, qtsvg, qtmultimedia, qtwebsockets, qtimageformats, - autoPatchelfHook, desktop-file-utils, imagemagick, makeWrapper, - twemoji-color-font, xorg, libsodium, libopus, libGL, zlib, alsaLib }: +{ lib, mkDerivation, fetchurl, makeFontsConf, appimageTools +, qtbase, qtsvg, qtmultimedia, qtwebsockets, qtimageformats +, autoPatchelfHook, desktop-file-utils, imagemagick +, twemoji-color-font, xorg, libsodium, libopus, libGL, alsaLib }: mkDerivation rec { pname = "ripcord"; @@ -19,9 +19,9 @@ mkDerivation rec { }; nativeBuildInputs = [ autoPatchelfHook desktop-file-utils imagemagick ]; - buildInputs = [ libsodium libopus libGL alsaLib ] ++ - [ qtbase qtsvg qtmultimedia qtwebsockets qtimageformats ] ++ - (with xorg; [ libX11 libXScrnSaver libXcursor xkeyboardconfig ]); + buildInputs = [ libsodium libopus libGL alsaLib ] + ++ [ qtbase qtsvg qtmultimedia qtwebsockets qtimageformats ] + ++ (with xorg; [ libX11 libXScrnSaver libXcursor xkeyboardconfig ]); fontsConf = makeFontsConf { fontDirectories = [ twemoji-color-font ]; @@ -60,10 +60,8 @@ mkDerivation rec { meta = with lib; { description = "Desktop chat client for Slack and Discord"; homepage = "https://cancel.fm/ripcord/"; - # See: https://cancel.fm/ripcord/shareware-redistribution/ license = licenses.unfreeRedistributable; - maintainers = with maintainers; [ infinisil ]; platforms = [ "x86_64-linux" ]; }; From 167da2103034c6a7d3895b851b0a432df2e464f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 27 Feb 2021 15:58:33 +0100 Subject: [PATCH 09/48] standardnotes: remove unused inputs --- pkgs/applications/editors/standardnotes/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/standardnotes/default.nix b/pkgs/applications/editors/standardnotes/default.nix index e66febbf7fc..0d50c24d397 100644 --- a/pkgs/applications/editors/standardnotes/default.nix +++ b/pkgs/applications/editors/standardnotes/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, appimageTools, autoPatchelfHook, desktop-file-utils -, fetchurl, runtimeShell, libsecret, gtk3, gsettings-desktop-schemas }: +, fetchurl, libsecret, gtk3, gsettings-desktop-schemas }: let version = "3.5.18"; From c1a03f005a6a6038ce72e077829bc7d30e418722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 27 Feb 2021 15:58:42 +0100 Subject: [PATCH 10/48] timeular: remove unused inputs, format --- pkgs/applications/office/timeular/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/office/timeular/default.nix b/pkgs/applications/office/timeular/default.nix index 6c1068d4584..5bbfca23d6d 100644 --- a/pkgs/applications/office/timeular/default.nix +++ b/pkgs/applications/office/timeular/default.nix @@ -1,8 +1,7 @@ -{ - lib, - fetchurl, - appimageTools, - libsecret +{ lib +, fetchurl +, appimageTools +, libsecret }: let @@ -37,7 +36,7 @@ in appimageTools.wrapType2 rec { Assign an activity to each side and flip to start tracking your time. The desktop app tell you where every minute of your day is spent. ''; - homepage = https://timeular.com; + homepage = "https://timeular.com"; license = licenses.unfree; maintainers = with maintainers; [ ktor ]; platforms = [ "x86_64-linux" ]; From 1497f9151dc721f47ca071098e9a9989735f9913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 27 Feb 2021 15:58:49 +0100 Subject: [PATCH 11/48] singularity: remove unused inputs --- pkgs/applications/virtualization/singularity/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/applications/virtualization/singularity/default.nix b/pkgs/applications/virtualization/singularity/default.nix index 3bc2df19d1d..a51a58d21ee 100644 --- a/pkgs/applications/virtualization/singularity/default.nix +++ b/pkgs/applications/virtualization/singularity/default.nix @@ -5,7 +5,6 @@ , openssl , libuuid , coreutils -, go , which , makeWrapper , cryptsetup From aa99645813b2a234c1e31988da92214c2b90f730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 27 Feb 2021 18:43:06 +0100 Subject: [PATCH 12/48] pythonPackages.gviz-api: clean up --- pkgs/development/python-modules/gviz-api/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gviz-api/default.nix b/pkgs/development/python-modules/gviz-api/default.nix index fabc2d147fc..92f33abb594 100644 --- a/pkgs/development/python-modules/gviz-api/default.nix +++ b/pkgs/development/python-modules/gviz-api/default.nix @@ -8,8 +8,7 @@ buildPythonPackage rec { format = "wheel"; src = fetchPypi { - inherit pname version; - format = "wheel"; + inherit pname version format; sha256 = "1yag559lpmwfdxpxn679a6ajifcbpgljr5n6k5b7rrj38k2xq7jg"; }; From d1a76640f67e1f81d87dd3d90911880090059cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 10:47:02 +0100 Subject: [PATCH 13/48] clipit: remove unused inputs --- pkgs/applications/misc/clipit/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/clipit/default.nix b/pkgs/applications/misc/clipit/default.nix index 630ee3c3683..fafcf3d5440 100644 --- a/pkgs/applications/misc/clipit/default.nix +++ b/pkgs/applications/misc/clipit/default.nix @@ -1,4 +1,4 @@ -{ fetchFromGitHub, fetchpatch, lib, stdenv +{ fetchFromGitHub, lib, stdenv , autoreconfHook, intltool, pkg-config , gtk3, libayatana-appindicator, xdotool, which, wrapGAppsHook }: From 88231ba0586eed7d16788be75137538bbf088d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 10:47:10 +0100 Subject: [PATCH 14/48] modem-manager-gui: remove unused inputs --- pkgs/applications/networking/modem-manager-gui/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/applications/networking/modem-manager-gui/default.nix b/pkgs/applications/networking/modem-manager-gui/default.nix index da36589aeec..2723f342043 100644 --- a/pkgs/applications/networking/modem-manager-gui/default.nix +++ b/pkgs/applications/networking/modem-manager-gui/default.nix @@ -10,7 +10,6 @@ , itstool , libayatana-appindicator-gtk3 , perlPackages -, glibcLocales , meson , ninja }: From 3fd94db5f1f274a6aa0b1960b0f7aa2a8f24eb9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 10:47:25 +0100 Subject: [PATCH 15/48] xfce4-taskmanager: remove unused inputs --- pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix b/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix index 9a923025c94..fd59b173a73 100644 --- a/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix @@ -1,4 +1,4 @@ -{ lib, mkXfceDerivation, exo, gtk3, libwnck3, libXmu }: +{ mkXfceDerivation, exo, gtk3, libwnck3, libXmu }: mkXfceDerivation { category = "apps"; From f170f851591dcc2264b4a40240f849bd2f8b8c81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 10:47:33 +0100 Subject: [PATCH 16/48] libayatana-appindicator: remove stale substituteInPlace --- .../libraries/libayatana-appindicator/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/development/libraries/libayatana-appindicator/default.nix b/pkgs/development/libraries/libayatana-appindicator/default.nix index ef9823130f4..186e8c42f4b 100644 --- a/pkgs/development/libraries/libayatana-appindicator/default.nix +++ b/pkgs/development/libraries/libayatana-appindicator/default.nix @@ -18,11 +18,6 @@ stdenv.mkDerivation rec { sha256 = "1sba0w455rdkadkhxrx4fr63m0d9blsbb1q1hcshxw1k1z2nh1gk"; }; - prePatch = '' - substituteInPlace configure.ac \ - --replace "codegendir pygtk-2.0" "codegendir pygobject-2.0" - ''; - nativeBuildInputs = [ pkg-config autoreconfHook gtk-doc gobject-introspection python2 python2Packages.pygtk dbus-glib ]; buildInputs = From 44993187127edd1e0a20dbe03bcf5bea22943d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Mon, 1 Mar 2021 10:12:27 +0000 Subject: [PATCH 17/48] virtualbox: fix build on linux 5.11 --- .../virtualization/virtualbox/default.nix | 2 ++ .../virtualization/virtualbox/linux-5-11.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/applications/virtualization/virtualbox/linux-5-11.patch diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix index 6dd7fd0f953..fe19f1f4a3e 100644 --- a/pkgs/applications/virtualization/virtualbox/default.nix +++ b/pkgs/applications/virtualization/virtualbox/default.nix @@ -103,6 +103,8 @@ in stdenv.mkDerivation { qtPluginPath = "${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtsvg.bin}/${qtbase.qtPluginPrefix}:${qtwayland.bin}/${qtbase.qtPluginPrefix}"; }) ++ [ + # NOTE: the patch for linux 5.11 can be removed when the next version of VirtualBox is released + ./linux-5-11.patch ./qtx11extras.patch ]; diff --git a/pkgs/applications/virtualization/virtualbox/linux-5-11.patch b/pkgs/applications/virtualization/virtualbox/linux-5-11.patch new file mode 100644 index 00000000000..66b70bf0d97 --- /dev/null +++ b/pkgs/applications/virtualization/virtualbox/linux-5-11.patch @@ -0,0 +1,12 @@ +diff --git a/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c b/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c +index 7033b45..c8178a6 100644 +--- a/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c ++++ b/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c +@@ -39,6 +39,7 @@ + #endif + #include + #include ++#include + #include + #include + #include From 622b7e87319721707775c1da8fc652545ec52e0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 12:27:46 +0100 Subject: [PATCH 18/48] megasync: remove unused inputs --- pkgs/applications/misc/megasync/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/applications/misc/megasync/default.nix b/pkgs/applications/misc/megasync/default.nix index c302a4b4a07..1c87747eaca 100644 --- a/pkgs/applications/misc/megasync/default.nix +++ b/pkgs/applications/misc/megasync/default.nix @@ -6,7 +6,6 @@ , curl , doxygen , fetchFromGitHub -, fetchpatch , ffmpeg_3 , libmediainfo , libraw From 2f6eae817858830cd79dba7213c9dce2fdab71eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 12:27:56 +0100 Subject: [PATCH 19/48] crypto++: remove unused inputs --- pkgs/development/libraries/crypto++/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/crypto++/default.nix b/pkgs/development/libraries/crypto++/default.nix index 0402af92b3b..8e5c687c445 100644 --- a/pkgs/development/libraries/crypto++/default.nix +++ b/pkgs/development/libraries/crypto++/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, nasm, which +{ lib, stdenv, fetchFromGitHub , enableStatic ? stdenv.hostPlatform.isStatic , enableShared ? !enableStatic }: From e7dd8edf7ea285e5100aa1f88bbc512491dd2e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 12:28:01 +0100 Subject: [PATCH 20/48] amule: remove unused inputs, cleanup --- pkgs/tools/networking/p2p/amule/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/networking/p2p/amule/default.nix b/pkgs/tools/networking/p2p/amule/default.nix index 4ab93b7574a..78a07031e02 100644 --- a/pkgs/tools/networking/p2p/amule/default.nix +++ b/pkgs/tools/networking/p2p/amule/default.nix @@ -2,11 +2,8 @@ , enableDaemon ? false # build amule daemon , httpServer ? false # build web interface for the daemon , client ? false # build amule remote gui -, fetchFromGitHub, fetchpatch, stdenv, lib, zlib, wxGTK, perl, cryptopp, libupnp, gettext, libpng ? null -, autoreconfHook, pkg-config, makeWrapper, libX11 ? null }: - -assert httpServer -> libpng != null; -assert client -> libX11 != null; +, fetchFromGitHub, stdenv, lib, zlib, wxGTK, perl, cryptopp, libupnp, gettext, libpng +, autoreconfHook, pkg-config, makeWrapper, libX11 }: stdenv.mkDerivation rec { pname = "amule"; From 4509c025e16dd64b4ee0ae7ad5e15f22d02b894c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 15:06:45 +0100 Subject: [PATCH 21/48] pythonPackages.powerline: remove unused inputs --- pkgs/development/python-modules/powerline/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/powerline/default.nix b/pkgs/development/python-modules/powerline/default.nix index 1ad17d0459d..63f5feada59 100644 --- a/pkgs/development/python-modules/powerline/default.nix +++ b/pkgs/development/python-modules/powerline/default.nix @@ -1,6 +1,5 @@ { lib , fetchFromGitHub -, python , buildPythonPackage , socat , psutil From 7ccf4d1259c8b8a759510eed57b32cfe6f8d0408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 15:19:05 +0100 Subject: [PATCH 22/48] pantheon.elementary-session-settings: remove unused input --- .../pantheon/desktop/elementary-session-settings/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix b/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix index e45d25cfa34..38fcb8d40b4 100644 --- a/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix +++ b/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix @@ -1,7 +1,6 @@ { lib, stdenv , fetchFromGitHub , nix-update-script -, substituteAll , desktop-file-utils , pkg-config , writeScript From bf0a2f91b8bb14c0fa37866ff64bbb0fa0dfcbaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 18:01:39 +0100 Subject: [PATCH 23/48] pythonPackages.httpbin: remove unused input --- pkgs/development/python-modules/httpbin/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/httpbin/default.nix b/pkgs/development/python-modules/httpbin/default.nix index 2e711141fcb..ace9a7041e3 100644 --- a/pkgs/development/python-modules/httpbin/default.nix +++ b/pkgs/development/python-modules/httpbin/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchPypi -, fetchpatch , flask , flask-limiter , markupsafe From e103713cde38ab74c0efb551ba907ffd17661159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 18:01:49 +0100 Subject: [PATCH 24/48] pythonPackages.johnnycanencrypt: remove unused input --- pkgs/development/python-modules/johnnycanencrypt/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/johnnycanencrypt/default.nix b/pkgs/development/python-modules/johnnycanencrypt/default.nix index a0c82902d3e..460b0cddf61 100644 --- a/pkgs/development/python-modules/johnnycanencrypt/default.nix +++ b/pkgs/development/python-modules/johnnycanencrypt/default.nix @@ -5,7 +5,6 @@ , rustPlatform , llvmPackages , pkg-config -, maturin , pcsclite , nettle , requests From 13a571d6cb2e6d0bd219c75fba1955ad3d580494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 18:01:54 +0100 Subject: [PATCH 25/48] pythonPackages.knack: remove unused input --- pkgs/development/python-modules/knack/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/knack/default.nix b/pkgs/development/python-modules/knack/default.nix index c08bdab4cf3..4bead996198 100644 --- a/pkgs/development/python-modules/knack/default.nix +++ b/pkgs/development/python-modules/knack/default.nix @@ -4,7 +4,6 @@ , argcomplete , colorama , jmespath -, knack , pygments , pyyaml , six From fb131414379773568b5cee97153f68b5f8990947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 18:01:59 +0100 Subject: [PATCH 26/48] pythonPackages.papis: remove unused input --- pkgs/development/python-modules/papis/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/papis/default.nix b/pkgs/development/python-modules/papis/default.nix index b05a525d91a..3e7c6ae0011 100644 --- a/pkgs/development/python-modules/papis/default.nix +++ b/pkgs/development/python-modules/papis/default.nix @@ -3,7 +3,7 @@ , pyyaml, chardet, beautifulsoup4, colorama, bibtexparser , click, python-slugify, habanero, isbnlib, typing-extensions , prompt_toolkit, pygments, stevedore, tqdm, lxml -, python-doi, isPy3k, pythonOlder, pytestcov +, python-doi, isPy3k, pytestcov #, optional, dependencies , whoosh, pytest , stdenv From 64dbd56960139570f03ffdfd89fb68bd25990a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 18:02:03 +0100 Subject: [PATCH 27/48] pythonPackages.pytest-vcr: remove unused input --- pkgs/development/python-modules/pytest-vcr/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytest-vcr/default.nix b/pkgs/development/python-modules/pytest-vcr/default.nix index 9373c597b36..119f3021b41 100644 --- a/pkgs/development/python-modules/pytest-vcr/default.nix +++ b/pkgs/development/python-modules/pytest-vcr/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchFromGitHub -, pytestCheckHook , pytest , vcrpy }: From 4bc50d5539c48a69c2d359db19f6757e806c2ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 18:02:08 +0100 Subject: [PATCH 28/48] amule: mark broken --- pkgs/tools/networking/p2p/amule/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/p2p/amule/default.nix b/pkgs/tools/networking/p2p/amule/default.nix index 78a07031e02..075d60038d8 100644 --- a/pkgs/tools/networking/p2p/amule/default.nix +++ b/pkgs/tools/networking/p2p/amule/default.nix @@ -75,5 +75,7 @@ stdenv.mkDerivation rec { license = licenses.gpl2Plus; maintainers = with maintainers; [ phreedom ]; platforms = platforms.unix; + # Could not find crypto++ installation or sources. + broken = true; }; } From 2d243e170d72e8735d46bd88af711169a38fc9eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 18:16:34 +0100 Subject: [PATCH 29/48] pythonPackages.requests: mark broken for python27 --- pkgs/development/python-modules/requests/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/requests/default.nix b/pkgs/development/python-modules/requests/default.nix index 169583586a1..20ba44ee2a8 100644 --- a/pkgs/development/python-modules/requests/default.nix +++ b/pkgs/development/python-modules/requests/default.nix @@ -8,6 +8,7 @@ , pytest-xdist , pytestCheckHook , urllib3 +, isPy27 }: buildPythonPackage rec { @@ -55,5 +56,7 @@ buildPythonPackage rec { homepage = "http://docs.python-requests.org/en/latest/"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; + # AttributeError: 'KeywordMapping' object has no attribute 'get' + broken = isPy27; }; } From 4ad340f37c1c4d632b0638a631d4e23a91f257e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 18:32:39 +0100 Subject: [PATCH 30/48] Revert "qemu: guard desktop file removal" This reverts commit e74ae54da58655d9a348e4324dcffaa7d831dbe3. rm -f ignores if the file exists or not. --- pkgs/applications/virtualization/qemu/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index dd1a2da0171..b4b16e21689 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -147,7 +147,7 @@ stdenv.mkDerivation rec { postFixup = '' # the .desktop is both invalid and pointless - test -e $out/share/applications/qemu.desktop && rm -f $out/share/applications/qemu.desktop + rm -f $out/share/applications/qemu.desktop # copy qemu-ga (guest agent) to separate output mkdir -p $ga/bin From 8813b5a191418cdb4abebf07f8ad681858310fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= Date: Mon, 1 Mar 2021 21:52:38 +0100 Subject: [PATCH 31/48] fcitx: wrap with xmodmap in PATH fcitx contains functionality to execute xmodmap when changing the layout, which triggers if ~/.Xmodmap is present. However, this breaks if xmodmap isn't present in fcitx's PATH. --- pkgs/tools/inputmethods/fcitx/unwrapped.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/inputmethods/fcitx/unwrapped.nix b/pkgs/tools/inputmethods/fcitx/unwrapped.nix index 35683101918..e9d7f0765b7 100644 --- a/pkgs/tools/inputmethods/fcitx/unwrapped.nix +++ b/pkgs/tools/inputmethods/fcitx/unwrapped.nix @@ -2,7 +2,7 @@ , libxml2, enchant2, isocodes, icu, libpthreadstubs , pango, cairo, libxkbfile, libXau, libXdmcp, libxkbcommon , dbus, gtk2, gtk3, qt4, extra-cmake-modules -, xkeyboard_config, pcre, libuuid +, xkeyboard_config, pcre, libuuid, xorg, makeWrapper , withPinyin ? true , fetchFromGitLab }: @@ -68,7 +68,12 @@ stdenv.mkDerivation rec { patchShebangs cmake/ ''; - nativeBuildInputs = [ cmake extra-cmake-modules intltool pkg-config pcre ]; + postInstall = '' + wrapProgram $out/bin/fcitx \ + --prefix PATH : "${xorg.xmodmap}/bin" + ''; + + nativeBuildInputs = [ cmake extra-cmake-modules intltool pkg-config pcre makeWrapper ]; buildInputs = [ xkeyboard_config enchant2 gettext isocodes icu libpthreadstubs libXau libXdmcp libxkbfile From 14797ce13e3213ff59245e03f4cdf5f765ef3f19 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 1 Mar 2021 23:30:56 +0100 Subject: [PATCH 32/48] gitleaks: 7.2.0 -> 7.2.2 --- pkgs/tools/security/gitleaks/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/gitleaks/default.nix b/pkgs/tools/security/gitleaks/default.nix index 98277461275..3266814d1b8 100644 --- a/pkgs/tools/security/gitleaks/default.nix +++ b/pkgs/tools/security/gitleaks/default.nix @@ -1,17 +1,17 @@ -{ buildGoModule +{ lib +, buildGoModule , fetchFromGitHub -, lib }: buildGoModule rec { pname = "gitleaks"; - version = "7.2.0"; + version = "7.2.2"; src = fetchFromGitHub { owner = "zricethezav"; repo = pname; rev = "v${version}"; - sha256 = "1pdbkjx8h6ijypsxyv34lykymaqf8wnfyjk3ldp49apbx01bl34y"; + sha256 = "sha256-G/7Ezyfp9vkG1QHTG9Xg6mZ3qhQpx952i7rsSr3fFwY="; }; vendorSha256 = "0kk8ci7vprqw4v7cigspshfd13k2wyy4pdkxf11pqc2fz8j07kh9"; From 4651637fafd56a028c3d54cb05520187f53e66d5 Mon Sep 17 00:00:00 2001 From: toonn Date: Tue, 2 Mar 2021 00:58:49 +0100 Subject: [PATCH 33/48] joypixels: 6.0.0 -> 6.5.0 New emoji for Unicode 13.1 publish in 2021. --- pkgs/data/fonts/joypixels/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/data/fonts/joypixels/default.nix b/pkgs/data/fonts/joypixels/default.nix index d7442b34521..146b832af9c 100644 --- a/pkgs/data/fonts/joypixels/default.nix +++ b/pkgs/data/fonts/joypixels/default.nix @@ -58,15 +58,15 @@ in stdenv.mkDerivation rec { pname = "joypixels"; - version = "6.0.0"; + version = "6.5.0"; src = assert !acceptLicense -> throwLicense; with systemSpecific; fetchurl { name = fontFile; url = "https://cdn.joypixels.com/distributions/${systemTag}/font/${version}/${fontFile}"; sha256 = { - darwin = "1s1dibgpv4lc9cwbgykgwjxxhg2rbn5g9fyd10r6apj9xhfn8cyn"; - }.${kernel.name} or "1vxqsqs93g4jyp01r47lrpcm0fmib2n1vysx32ksmfxmprimb75s"; + darwin = "034bwxy6ljvhx9zlm6jkb8vw222sg79sjwlcjfql51rk6zkmv4wx"; + }.${kernel.name} or "1v6hz0qhbnzayxhs5j9qfa2ggn7nak53ij7kr06m93wcmlnnln86"; }; dontUnpack = true; @@ -82,9 +82,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "The finest emoji you can use legally (formerly EmojiOne)"; longDescription = '' - New for 2020! JoyPixels 6.0 includes 3,342 originally crafted icon - designs and is 100% Unicode 13 compatible. We offer the largest selection - of files ranging from png, svg, iconjar, sprites, and fonts. + Updated for 2021! JoyPixels 6.5 includes 3,559 originally crafted icon + designs and is 100% Unicode 13.1 compatible. We offer the largest + selection of files ranging from png, svg, iconjar, sprites, and fonts. ''; homepage = "https://www.joypixels.com/fonts"; license = From 395ade245c48983a2942672535acc28ffcfec1ee Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 2 Mar 2021 02:03:30 +0000 Subject: [PATCH 34/48] factorio-headless-experimental, factorio-experimental: 1.1.25 -> 1.1.26 --- pkgs/games/factorio/versions.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pkgs/games/factorio/versions.json b/pkgs/games/factorio/versions.json index 810332a9752..21aa2f6d200 100644 --- a/pkgs/games/factorio/versions.json +++ b/pkgs/games/factorio/versions.json @@ -2,12 +2,12 @@ "x86_64-linux": { "alpha": { "experimental": { - "name": "factorio_alpha_x64-1.1.25.tar.xz", + "name": "factorio_alpha_x64-1.1.26.tar.xz", "needsAuth": true, - "sha256": "1xz03xr144grf5pa194j8pvyniiw77lsidkl32wha9x85fln5jhi", + "sha256": "0wv1yv5v77h09nk2skfabqmxys40d806x09kac3jja1lhhr4hzl2", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/1.1.25/alpha/linux64", - "version": "1.1.25" + "url": "https://factorio.com/get-download/1.1.26/alpha/linux64", + "version": "1.1.26" }, "stable": { "name": "factorio_alpha_x64-1.1.25.tar.xz", @@ -20,12 +20,12 @@ }, "demo": { "experimental": { - "name": "factorio_demo_x64-1.1.25.tar.xz", + "name": "factorio_demo_x64-1.1.26.tar.xz", "needsAuth": false, - "sha256": "1v3rpi9cfx4bg4jqq3h8zwknb5wsidk3lf3qkf55kf4xw6fnkzcj", + "sha256": "1b6rjyhjvdhdb0d3drjpjc1v8398amcz8wmh3d84gl3aafflfl1x", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/1.1.25/demo/linux64", - "version": "1.1.25" + "url": "https://factorio.com/get-download/1.1.26/demo/linux64", + "version": "1.1.26" }, "stable": { "name": "factorio_demo_x64-1.1.25.tar.xz", @@ -38,12 +38,12 @@ }, "headless": { "experimental": { - "name": "factorio_headless_x64-1.1.25.tar.xz", + "name": "factorio_headless_x64-1.1.26.tar.xz", "needsAuth": false, - "sha256": "0xirxdf41sdsgcknvhdfg6rm12bwmg86bl4ml6ap1skifk8dlia1", + "sha256": "08hnyycwsj6srp2kcvnh5rixlcifk17r2814fr1g7jbdx7rp14mj", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/1.1.25/headless/linux64", - "version": "1.1.25" + "url": "https://factorio.com/get-download/1.1.26/headless/linux64", + "version": "1.1.26" }, "stable": { "name": "factorio_headless_x64-1.1.25.tar.xz", From c9783787606ece243d817fba3964b4c85a24ec84 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 2 Mar 2021 08:37:24 +0100 Subject: [PATCH 35/48] gitleaks: add release output to --version --- pkgs/tools/security/gitleaks/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/security/gitleaks/default.nix b/pkgs/tools/security/gitleaks/default.nix index 3266814d1b8..66d4c23defb 100644 --- a/pkgs/tools/security/gitleaks/default.nix +++ b/pkgs/tools/security/gitleaks/default.nix @@ -16,6 +16,10 @@ buildGoModule rec { vendorSha256 = "0kk8ci7vprqw4v7cigspshfd13k2wyy4pdkxf11pqc2fz8j07kh9"; + preBuild = '' + buildFlagsArray+=("-ldflags" "-s -w -X github.com/zricethezav/gitleaks/v${lib.versions.major version}/version.Version=${version}") + ''; + meta = with lib; { description = "Scan git repos (or files) for secrets"; longDescription = '' From c29dc9a55c040d23ea2a97edb71a5abe63d47496 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Tue, 9 Feb 2021 19:46:05 +0100 Subject: [PATCH 36/48] eiskaltdcpp: 2.2.10 -> 2.4.1 --- .../networking/p2p/eiskaltdcpp/default.nix | 47 +++++++------------ pkgs/top-level/all-packages.nix | 5 +- 2 files changed, 18 insertions(+), 34 deletions(-) diff --git a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix index c7a05f37ca8..3e1d5073f5f 100644 --- a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix +++ b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix @@ -1,47 +1,29 @@ -{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, qt4, boost, bzip2, libX11 -, fetchpatch, libiconv, pcre-cpp, libidn, lua5, miniupnpc, aspell, gettext }: +{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, boost, bzip2, libX11 +, mkDerivation, qtbase, qttools, qtmultimedia, qtscript +, libiconv, pcre-cpp, libidn, lua5, miniupnpc, aspell, gettext, perl }: -stdenv.mkDerivation rec { +mkDerivation rec { pname = "eiskaltdcpp"; - version = "2.2.10"; + version = "2.4.1"; src = fetchFromGitHub { owner = "eiskaltdcpp"; repo = "eiskaltdcpp"; rev = "v${version}"; - sha256 = "1mqz0g69njmlghcra3izarjxbxi1jrhiwn4ww94b8jv8xb9cv682"; + sha256 = "0ln8dafa8sni3289g30ndv1wr3ij5lz4abcb2qwcabb79zqxl8hy"; }; nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ qt4 boost bzip2 libX11 pcre-cpp libidn lua5 miniupnpc aspell gettext ] + buildInputs = [ qtbase qttools qtmultimedia qtscript boost bzip2 libX11 pcre-cpp libidn lua5 miniupnpc aspell gettext + (perl.withPackages (p: with p; [ + GetoptLong + RpcXML + TermShellUI + ])) ] ++ lib.optional stdenv.isDarwin libiconv; - patches = [ - (fetchpatch { - url = "https://github.com/eiskaltdcpp/eiskaltdcpp/commit/3b7b56bd7060b426b1f1bfded392ae6853644e2e.patch"; - sha256 = "1rqjdsvirn3ks9w9qn893fb73mz84xm04wl13fvsvj8p42i5cjas"; - }) - (fetchpatch { - url = "https://github.com/eiskaltdcpp/eiskaltdcpp/commit/bb9eb364a943fe2a67b3ea52ec6a3f9e911f07dc.patch"; - sha256 = "1hjhf9a9j4z8v24g5qh5mcg3n0540lbn85y7kvxsh3khc5v3cywx"; - }) - (fetchpatch { - url = "https://github.com/eiskaltdcpp/eiskaltdcpp/commit/ef4426f1f9a8255e335b0862234e6cc28befef5e.patch"; - sha256 = "13j018c499n4b5as2n39ws64yj0cf4fskxbqab309vmnjkirxv6x"; - }) - (fetchpatch { - url = "https://github.com/eiskaltdcpp/eiskaltdcpp/commit/a9c136c8707280d0eeb66be6b289d9718287c55c.patch"; - sha256 = "0w8v4mbrzk7pmzc475ff96mzzwlh8a0p62kk7p829m5yqdwj4sc9"; - }) - (fetchpatch { - url = "https://github.com/eiskaltdcpp/eiskaltdcpp/commit/3b9c502ff5c98856d4f8fdb7ed3c6ef34448bfb7.patch"; - sha256 = "0fjwaq0wd9a164k5ysdjy89hx0ixnxc6q7cvyn1ba28snm0pgxb8"; - }) - ]; - cmakeFlags = [ "-DUSE_ASPELL=ON" - "-DUSE_QT_QML=ON" "-DFREE_SPACE_BAR_C=ON" "-DUSE_MINIUPNP=ON" "-DLOCAL_MINIUPNP=ON" @@ -54,6 +36,11 @@ stdenv.mkDerivation rec { "-DWITH_LUASCRIPTS=ON" ]; + preFixup = '' + substituteInPlace $out/bin/eiskaltdcpp-cli-xmlrpc \ + --replace "/usr/local" "$out" + ''; + meta = with lib; { description = "A cross-platform program that uses the Direct Connect and ADC protocols"; homepage = "https://github.com/eiskaltdcpp/eiskaltdcpp"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7316c3cc11a..0c1849edcb4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24655,10 +24655,7 @@ in qcomicbook = libsForQt5.callPackage ../applications/graphics/qcomicbook { }; - eiskaltdcpp = callPackage ../applications/networking/p2p/eiskaltdcpp { - lua5 = lua5_1; - miniupnpc = miniupnpc_1; - }; + eiskaltdcpp = libsForQt5.callPackage ../applications/networking/p2p/eiskaltdcpp { }; qdirstat = libsForQt5.callPackage ../applications/misc/qdirstat {}; From 4ed02f4ae6f04ca9127dad6d629274cac18e0cd8 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Tue, 2 Mar 2021 13:13:47 +0000 Subject: [PATCH 37/48] dockle: 0.3.10 -> 0.3.11 --- pkgs/development/tools/dockle/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/dockle/default.nix b/pkgs/development/tools/dockle/default.nix index d78b54b33e4..5ecaddc6f1b 100644 --- a/pkgs/development/tools/dockle/default.nix +++ b/pkgs/development/tools/dockle/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "dockle"; - version = "0.3.10"; + version = "0.3.11"; src = fetchFromGitHub { owner = "goodwithtech"; repo = pname; rev = "v${version}"; - sha256 = "sha256-oS3ZGQkDSRdVLluLNg56VGp6MCrRDlgjk1va1+xocas="; + sha256 = "sha256-TAV+bdHURclrwM0ByfbM2S4GdAnHrwclStyUlGraOpw="; }; vendorSha256 = "sha256-npbUE3ch8TamW0aikdKuFElE4YDRKwNVUscuvmlQxl4="; @@ -16,12 +16,9 @@ buildGoModule rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ btrfs-progs lvm2 ]; - buildFlagsArray = [ - "-ldflags=" - "-s" - "-w" - "-X main.version=${version}" - ]; + preBuild = '' + buildFlagsArray+=("-ldflags" "-s -w -X main.version=${version}") + ''; preCheck = '' # Remove tests that use networking From 227145df1c9863880e3e29eb8445511b5793379d Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 2 Mar 2021 14:16:00 +0000 Subject: [PATCH 38/48] python37Packages.asyncwhois: 0.2.4 -> 0.3.0 --- pkgs/development/python-modules/asyncwhois/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/asyncwhois/default.nix b/pkgs/development/python-modules/asyncwhois/default.nix index 5c42e53fde0..7ce389f984d 100644 --- a/pkgs/development/python-modules/asyncwhois/default.nix +++ b/pkgs/development/python-modules/asyncwhois/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "asyncwhois"; - version = "0.2.4"; + version = "0.3.0"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pogzyb"; repo = pname; rev = "v${version}"; - sha256 = "17w007hjnpggj6jvkv8wxwllxk6mir1q2nhw0dqg7glm4lfbx8kr"; + sha256 = "1514fz942yix7fh4yg982mxjp8c0qb6a0i4fw5wsc3xx4g86zcdg"; }; propagatedBuildInputs = [ From 78ecc5257c44bbcb52845c114f4c3ef578373497 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 2 Mar 2021 15:41:17 +0100 Subject: [PATCH 39/48] pkgs/development/compilers/ocaml: remove 3.* expressions The attributes for these compilers have been removed, so there's no reason to keep these expressions around. --- pkgs/development/compilers/ocaml/3.08.0.nix | 21 ------ pkgs/development/compilers/ocaml/3.10.0.nix | 34 --------- pkgs/development/compilers/ocaml/3.11.2.nix | 75 ------------------- .../ocaml/3.12.1-darwin-fix-configure.patch | 32 -------- pkgs/development/compilers/ocaml/3.12.1.nix | 69 ----------------- 5 files changed, 231 deletions(-) delete mode 100644 pkgs/development/compilers/ocaml/3.08.0.nix delete mode 100644 pkgs/development/compilers/ocaml/3.10.0.nix delete mode 100644 pkgs/development/compilers/ocaml/3.11.2.nix delete mode 100644 pkgs/development/compilers/ocaml/3.12.1-darwin-fix-configure.patch delete mode 100644 pkgs/development/compilers/ocaml/3.12.1.nix diff --git a/pkgs/development/compilers/ocaml/3.08.0.nix b/pkgs/development/compilers/ocaml/3.08.0.nix deleted file mode 100644 index 5762bed41a4..00000000000 --- a/pkgs/development/compilers/ocaml/3.08.0.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ stdenv, fetchurl, xlibsWrapper }: - -stdenv.mkDerivation rec { - pname = "ocaml"; - version = "3.08.0"; - - builder = ./builder.sh; - src = fetchurl { - url = "http://tarballs.nixos.org/${pname}-${version}.tar.gz"; - sha256 = "135g5waj7djzrj0dbc8z1llasfs2iv5asq41jifhldxb4l2b97mx"; - }; - configureScript = ./configure-3.08.0; - dontAddPrefix = "True"; - configureFlags = ["-no-tk" "-x11lib" xlibsWrapper]; - buildFlags = ["world" "bootstrap" "opt"]; - checkTarget = ["opt.opt"]; - - meta = { - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/development/compilers/ocaml/3.10.0.nix b/pkgs/development/compilers/ocaml/3.10.0.nix deleted file mode 100644 index e3778457fd3..00000000000 --- a/pkgs/development/compilers/ocaml/3.10.0.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ stdenv, fetchurl, xlibsWrapper, ncurses }: - -stdenv.mkDerivation (rec { - - pname = "ocaml"; - version = "3.10.0"; - - src = fetchurl { - url = "https://caml.inria.fr/pub/distrib/ocaml-3.10/${pname}-${version}.tar.bz2"; - sha256 = "1ihmx1civ78s7k2hfc05z1s9vbyx2qw7fg8lnbxnfd6zxkk8878d"; - }; - - prefixKey = "-prefix "; - configureFlags = ["-no-tk" "-x11lib" xlibsWrapper]; - buildFlags = [ "world" "bootstrap" "world.opt" ]; - buildInputs = [xlibsWrapper ncurses]; - installTargets = "install installopt"; - patchPhase = '' - CAT=$(type -tp cat) - sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang - ''; - postBuild = '' - mkdir -p $out/include - ln -sv $out/lib/ocaml/caml $out/include/caml - ''; - - meta = { - homepage = "http://caml.inria.fr/ocaml"; - license = with lib.licenses; [ qpl lgpl2 ]; - description = "Most popular variant of the Caml language"; - platforms = lib.platforms.linux; - }; - -}) diff --git a/pkgs/development/compilers/ocaml/3.11.2.nix b/pkgs/development/compilers/ocaml/3.11.2.nix deleted file mode 100644 index 642b0d91b7f..00000000000 --- a/pkgs/development/compilers/ocaml/3.11.2.nix +++ /dev/null @@ -1,75 +0,0 @@ -{ stdenv, fetchurl, ncurses, xlibsWrapper }: - -let - useX11 = stdenv.isi686 || stdenv.isx86_64; - useNativeCompilers = stdenv.isi686 || stdenv.isx86_64 || stdenv.isMips; - inherit (lib) optionals optionalString; -in - -stdenv.mkDerivation rec { - - pname = "ocaml"; - version = "3.11.2"; - - src = fetchurl { - url = "https://caml.inria.fr/pub/distrib/ocaml-3.11/${pname}-${version}.tar.bz2"; - sha256 = "86f3387a0d7e7c8be2a3c53af083a5a726e333686208d5ea0dd6bb5ac3f58143"; - }; - - # Needed to avoid a SIGBUS on the final executable on mips - NIX_CFLAGS_COMPILE = if stdenv.isMips then "-fPIC" else ""; - - patches = optionals stdenv.isDarwin [ ./gnused-on-osx-fix.patch ] ++ - [ (fetchurl { - name = "0007-Fix-ocamlopt-w.r.t.-binutils-2.21.patch"; - url = "http://caml.inria.fr/mantis/file_download.php?file_id=418&type=bug"; - sha256 = "612a9ac108bbfce2238aa5634123da162f0315dedb219958be705e0d92dcdd8e"; - }) - ]; - - prefixKey = "-prefix "; - configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ]; - buildFlags = [ "world" ] ++ optionals useNativeCompilers [ "bootstrap" "world.opt" ]; - buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ]; - installTargets = "install" + optionalString useNativeCompilers " installopt"; - prePatch = '' - CAT=$(type -tp cat) - sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang - patch -p0 < ${./mips64.patch} - ''; - postBuild = '' - mkdir -p $out/include - ln -sv $out/lib/ocaml/caml $out/include/caml - ''; - - meta = with lib; { - homepage = "http://caml.inria.fr/ocaml"; - license = with licenses; [ - qpl /* compiler */ - lgpl2 /* library */ - ]; - description = "Most popular variant of the Caml language"; - - longDescription = - '' Objective Caml is the most popular variant of the Caml language. - From a language standpoint, it extends the core Caml language with a - fully-fledged object-oriented layer, as well as a powerful module - system, all connected by a sound, polymorphic type system featuring - type inference. - - The Objective Caml system is an industrial-strength implementation - of this language, featuring a high-performance native-code compiler - (ocamlopt) for 9 processor architectures (IA32, PowerPC, AMD64, - Alpha, Sparc, Mips, IA64, HPPA, StrongArm), as well as a bytecode - compiler (ocamlc) and an interactive read-eval-print loop (ocaml) - for quick development and portability. The Objective Caml - distribution includes a comprehensive standard library, a replay - debugger (ocamldebug), lexer (ocamllex) and parser (ocamlyacc) - generators, a pre-processor pretty-printer (camlp4) and a - documentation generator (ocamldoc). - ''; - - platforms = with platforms; linux ++ darwin; - }; - -} diff --git a/pkgs/development/compilers/ocaml/3.12.1-darwin-fix-configure.patch b/pkgs/development/compilers/ocaml/3.12.1-darwin-fix-configure.patch deleted file mode 100644 index 4b867bbb1e6..00000000000 --- a/pkgs/development/compilers/ocaml/3.12.1-darwin-fix-configure.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -Nuar ocaml-3.12.1/configure ocaml-3.12.1-fix-configure/configure ---- ocaml-3.12.1/configure 2011-07-04 23:15:01.000000000 +0200 -+++ ocaml-3.12.1-fix-configure/configure 2012-06-06 22:20:40.000000000 +0200 -@@ -259,7 +259,7 @@ - bytecccompopts="-fno-defer-pop $gcc_warnings -DSHRINKED_GNUC" - mathlib="";; - *,*-*-darwin*) -- bytecccompopts="-fno-defer-pop -no-cpp-precomp $gcc_warnings" -+ bytecccompopts="-fno-defer-pop $gcc_warnings" - mathlib="" - # Tell gcc that we can use 32-bit code addresses for threaded code - # unless we are compiled for a shared library (-fPIC option) -@@ -739,7 +739,7 @@ - *,*,rhapsody,*) nativecccompopts="$gcc_warnings -DDARWIN_VERSION_6 $dl_defs" - if $arch64; then partialld="ld -r -arch ppc64"; fi;; - *,gcc*,cygwin,*) nativecccompopts="$gcc_warnings -U_WIN32";; -- amd64,gcc*,macosx,*) partialld="ld -r -arch x86_64";; -+ amd64,gcc*,macosx,*) partialld="ld -r";; - amd64,gcc*,solaris,*) partialld="ld -r -m elf_x86_64";; - *,gcc*,*,*) nativecccompopts="$gcc_warnings";; - esac -@@ -752,8 +752,8 @@ - asppprofflags='-pg -DPROFILING';; - alpha,*,*) as='as' - aspp='gcc -c';; -- amd64,*,macosx) as='as -arch x86_64' -- aspp='gcc -arch x86_64 -c';; -+ amd64,*,macosx) as='as' -+ aspp='gcc -c';; - amd64,*,solaris) as='as --64' - aspp='gcc -m64 -c';; - amd64,*,*) as='as' diff --git a/pkgs/development/compilers/ocaml/3.12.1.nix b/pkgs/development/compilers/ocaml/3.12.1.nix deleted file mode 100644 index 781b5be0982..00000000000 --- a/pkgs/development/compilers/ocaml/3.12.1.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ stdenv, fetchurl, ncurses, xlibsWrapper }: - -let - useX11 = !stdenv.isAarch32 && !stdenv.isMips; - useNativeCompilers = !stdenv.isMips; - inherit (lib) optionals optionalString; -in - -stdenv.mkDerivation rec { - - pname = "ocaml"; - version = "3.12.1"; - - src = fetchurl { - url = "https://caml.inria.fr/pub/distrib/ocaml-3.12/${pname}-${version}.tar.bz2"; - sha256 = "13cmhkh7s6srnlvhg3s9qzh3a5dbk2m9qr35jzq922sylwymdkzd"; - }; - - prefixKey = "-prefix "; - configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ]; - buildFlags = [ "world" ] ++ optionals useNativeCompilers [ "bootstrap" "world.opt" ]; - buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ]; - installTargets = "install" + optionalString useNativeCompilers " installopt"; - patches = optionals stdenv.isDarwin [ ./3.12.1-darwin-fix-configure.patch ]; - preConfigure = '' - CAT=$(type -tp cat) - sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang - ''; - postBuild = '' - mkdir -p $out/include - ln -sv $out/lib/ocaml/caml $out/include/caml - ''; - - passthru = { - nativeCompilers = useNativeCompilers; - }; - - meta = with lib; { - homepage = "http://caml.inria.fr/ocaml"; - branch = "3.12"; - license = with licenses; [ - qpl /* compiler */ - lgpl2 /* library */ - ]; - description = "Most popular variant of the Caml language"; - - longDescription = - '' - OCaml is the most popular variant of the Caml language. From a - language standpoint, it extends the core Caml language with a - fully-fledged object-oriented layer, as well as a powerful module - system, all connected by a sound, polymorphic type system featuring - type inference. - - The OCaml system is an industrial-strength implementation of this - language, featuring a high-performance native-code compiler (ocamlopt) - for 9 processor architectures (IA32, PowerPC, AMD64, Alpha, Sparc, - Mips, IA64, HPPA, StrongArm), as well as a bytecode compiler (ocamlc) - and an interactive read-eval-print loop (ocaml) for quick development - and portability. The OCaml distribution includes a comprehensive - standard library, a replay debugger (ocamldebug), lexer (ocamllex) and - parser (ocamlyacc) generators, a pre-processor pretty-printer (camlp4) - and a documentation generator (ocamldoc). - ''; - - platforms = with platforms; linux; - }; - -} From 312ce1dba38f067ef95b06a733d27a01e19dfc2b Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 2 Mar 2021 15:46:29 +0100 Subject: [PATCH 40/48] pkgs/development/libraries/silgraphite: remove unused file Isn't called anywhere or otherwise imported. --- .../libraries/silgraphite/default.nix | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 pkgs/development/libraries/silgraphite/default.nix diff --git a/pkgs/development/libraries/silgraphite/default.nix b/pkgs/development/libraries/silgraphite/default.nix deleted file mode 100644 index 06cf7587616..00000000000 --- a/pkgs/development/libraries/silgraphite/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ stdenv, fetchurl, pkg-config, freetype, libXft, pango, fontconfig }: - -stdenv.mkDerivation rec { - version = "2.3.1"; - name = "silgraphite-2.3.1"; - - src = fetchurl { - url = "mirror://sourceforge/silgraphite/silgraphite/${version}/${name}.tar.gz"; - sha256 = "9b07c6e91108b1fa87411af4a57e25522784cfea0deb79b34ced608444f2ed65"; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ freetype libXft pango fontconfig]; - - NIX_CFLAGS_COMPILE = "-I${freetype.dev}/include/freetype2"; - - meta = { - description = "An advanced font engine"; - maintainers = [ lib.maintainers.raskin ]; - platforms = lib.platforms.linux; - }; -} From 003fcee3cd06afd91183df40e7782b7dd9b58897 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Tue, 2 Mar 2021 11:19:31 +0000 Subject: [PATCH 41/48] linux_5_11: 5.11.1 -> 5.11.2 https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.11.2 --- pkgs/os-specific/linux/kernel/linux-5.11.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.11.nix b/pkgs/os-specific/linux/kernel/linux-5.11.nix index 000d6e64d77..6c595d75c8f 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.11.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.11.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.11.1"; + version = "5.11.2"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "1gmrckvl3039z80rr740c0d5knwgj6p1dmhw4x9gwc7rxli6az85"; + sha256 = "186ha9fsk2qvrjkq7yvpmml938byz92m8ykcvbw4w9pmp8y5njlh"; }; } // (args.argsOverride or {})) From 8d25cac779c75eff1366ae7a1ff4d209fd29ef65 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Tue, 2 Mar 2021 15:00:38 +0000 Subject: [PATCH 42/48] =?UTF-8?q?sbt-extras:=202021-02-24=20=E2=86=92=2020?= =?UTF-8?q?21-03-01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../development/tools/build-managers/sbt-extras/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/build-managers/sbt-extras/default.nix b/pkgs/development/tools/build-managers/sbt-extras/default.nix index a593ee72c8b..f16d2838c9e 100644 --- a/pkgs/development/tools/build-managers/sbt-extras/default.nix +++ b/pkgs/development/tools/build-managers/sbt-extras/default.nix @@ -3,14 +3,14 @@ stdenv.mkDerivation rec { pname = "sbt-extras"; - rev = "f080234ba899bb49b0cf977b3683e6446b38c477"; - version = "2021-02-24"; + rev = "dc4f350f112580fcdf5f6fa7e8d5d2116475f84a"; + version = "2021-03-01"; src = fetchFromGitHub { owner = "paulp"; repo = "sbt-extras"; inherit rev; - sha256 = "01n25s60ssxls8lkwrni91k35622lyaizymmprcqh243dg3g2qiv"; + sha256 = "00qlmxnxmsjs5z03sd46j9spcz1jjkabip4z6f6r43pahjqyd0dk"; }; dontBuild = true; From 8c7c2c31b20c22e45ef64dc6c7404eded5cdd041 Mon Sep 17 00:00:00 2001 From: Ignacio Torres Masdeu Date: Tue, 2 Mar 2021 12:54:18 +0000 Subject: [PATCH 43/48] pythonPackages.secretstorage: 3.3.0 -> 3.3.1 --- pkgs/development/python-modules/secretstorage/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/secretstorage/default.nix b/pkgs/development/python-modules/secretstorage/default.nix index 15787647676..5b7b7ea2797 100644 --- a/pkgs/development/python-modules/secretstorage/default.nix +++ b/pkgs/development/python-modules/secretstorage/default.nix @@ -2,14 +2,14 @@ buildPythonPackage rec { pname = "secretstorage"; - version = "3.3.0"; + version = "3.3.1"; disabled = pythonOlder "3.5"; src = fetchPypi { pname = "SecretStorage"; inherit version; - sha256 = "1aj669d5s8pmr6y2d286fxd13apnxzw0ivd1dr6xdni9i3rdxkrh"; + sha256 = "15ginv4gzxrx77n7517xnvf2jcpqc6ran12s951hc85zlr8nqrpx"; }; propagatedBuildInputs = [ From 34fb4cf97c710a9320af60e75e30078f6721d93e Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 2 Mar 2021 18:31:11 +0300 Subject: [PATCH 44/48] =?UTF-8?q?sile:=200.10.14=20=E2=86=92=200.10.15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/tools/typesetting/sile/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/typesetting/sile/default.nix b/pkgs/tools/typesetting/sile/default.nix index eef7768be8f..92062b8eac8 100644 --- a/pkgs/tools/typesetting/sile/default.nix +++ b/pkgs/tools/typesetting/sile/default.nix @@ -39,11 +39,11 @@ in stdenv.mkDerivation rec { pname = "sile"; - version = "0.10.14"; + version = "0.10.15"; src = fetchurl { url = "https://github.com/sile-typesetter/sile/releases/download/v${version}/${pname}-${version}.tar.xz"; - sha256 = "100f6iangpiwlv8k55d134w856r0xwsgw90s1rkkmqa5syziwni5"; + sha256 = "0p1w3s6j34qi93aycqmqggfm277n90z90nlmm1j3qizxxwq5gda9"; }; configureFlags = [ From 722abf833771660a15eb99a11d2326c84378b6ff Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Tue, 2 Mar 2021 22:21:17 +0700 Subject: [PATCH 45/48] tie: fix cross-compilation --- pkgs/development/tools/misc/tie/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/tie/default.nix b/pkgs/development/tools/misc/tie/default.nix index e75248aa867..52a740ed1c8 100644 --- a/pkgs/development/tools/misc/tie/default.nix +++ b/pkgs/development/tools/misc/tie/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { }; buildPhase = '' - cc tie.c -o tie + ${stdenv.cc.targetPrefix}cc tie.c -o tie ''; installPhase = '' @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.ctan.org/tex-archive/web/tie"; description = "Allow multiple web change files"; - platforms = with platforms; unix; + platforms = platforms.all; maintainers = with maintainers; [ vrthra ]; license = licenses.abstyles; }; From c58b2adb60c3a65f9ba34af1e3e19d13633b3f59 Mon Sep 17 00:00:00 2001 From: Ignacio Torres Masdeu Date: Tue, 2 Mar 2021 15:56:03 +0000 Subject: [PATCH 46/48] aws-google-auth: 0.0.36 -> 0.0.37 --- pkgs/tools/admin/aws-google-auth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/aws-google-auth/default.nix b/pkgs/tools/admin/aws-google-auth/default.nix index a9a49beda2f..9330291014d 100644 --- a/pkgs/tools/admin/aws-google-auth/default.nix +++ b/pkgs/tools/admin/aws-google-auth/default.nix @@ -20,7 +20,7 @@ buildPythonApplication rec { pname = "aws-google-auth"; - version = "0.0.36"; + version = "0.0.37"; # Pypi doesn't ship the tests, so we fetch directly from GitHub # https://github.com/cevoaustralia/aws-google-auth/issues/120 @@ -28,7 +28,7 @@ buildPythonApplication rec { owner = "cevoaustralia"; repo = "aws-google-auth"; rev = version; - sha256 = "099r020v33sij2b3816cjp4fpy35c886l559szfxqx6kgy19y9z7"; + sha256 = "1bh733n4m5rsslpbjvhdigx6768nrvacybkakrm9704d2md9vkqd"; }; propagatedBuildInputs = [ From 2b558b7f0ffad725b64aa301d1ae869df100d080 Mon Sep 17 00:00:00 2001 From: Thomas Bereknyei Date: Tue, 2 Mar 2021 00:40:34 -0500 Subject: [PATCH 47/48] golint: 20181026 -> 20201208 bump and use Go modules to build --- pkgs/development/tools/golint/default.nix | 15 +++++++-------- pkgs/development/tools/golint/deps.nix | 12 ------------ 2 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 pkgs/development/tools/golint/deps.nix diff --git a/pkgs/development/tools/golint/default.nix b/pkgs/development/tools/golint/default.nix index 89b9f146495..3187f793127 100644 --- a/pkgs/development/tools/golint/default.nix +++ b/pkgs/development/tools/golint/default.nix @@ -1,11 +1,10 @@ -{ lib, buildGoPackage, fetchgit }: +{ lib, buildGoModule, fetchgit }: -buildGoPackage rec { +buildGoModule rec { pname = "lint"; - version = "20181026-${lib.strings.substring 0 7 rev}"; - rev = "c67002cb31c3a748b7688c27f20d8358b4193582"; + version = "20201208-${lib.strings.substring 0 7 rev}"; + rev = "83fdc39ff7b56453e3793356bcff3070b9b96445"; - goPackagePath = "golang.org/x/lint"; excludedPackages = "testdata"; # we must allow references to the original `go` package, as golint uses @@ -15,15 +14,15 @@ buildGoPackage rec { src = fetchgit { inherit rev; url = "https://go.googlesource.com/lint"; - sha256 = "0gymbggskjmphqxqcx4s0vnlcz7mygbix0vhwcwv5r67c0bf6765"; + sha256 = "sha256-g4Z9PREOxGoN7n/XhutawsITBznJlbz6StXeDYvOQ1c="; }; - goDeps = ./deps.nix; + vendorSha256 = "sha256-dPadFoymYu2Uw2AXZfbaBfxsN8IWMuK1TrcknHco3Bo="; meta = with lib; { homepage = "https://golang.org"; description = "Linter for Go source code"; license = licenses.bsd3; - maintainers = with maintainers; [ jhillyerd ]; + maintainers = with maintainers; [ jhillyerd tomberek ]; }; } diff --git a/pkgs/development/tools/golint/deps.nix b/pkgs/development/tools/golint/deps.nix deleted file mode 100644 index e2640098933..00000000000 --- a/pkgs/development/tools/golint/deps.nix +++ /dev/null @@ -1,12 +0,0 @@ -# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 -[ - { - goPackagePath = "golang.org/x/tools"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/tools"; - rev = "91f80e683c10fea00e7f965a1a7cac482ce52541"; - sha256 = "16a2vppy5hnp663f28yak6592l8p968ihsc91pigamxx3vk1qh5d"; - }; - } -] From b0ed0b8a62467e93f1a1559350e0b051d04dbab9 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 28 Feb 2021 11:31:31 +0100 Subject: [PATCH 48/48] =?UTF-8?q?ocamlPackages.base:=200.14.0=20=E2=86=92?= =?UTF-8?q?=200.14.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/janestreet/0.14.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/janestreet/0.14.nix b/pkgs/development/ocaml-modules/janestreet/0.14.nix index 5632cfbb7c3..c46b87e92f8 100644 --- a/pkgs/development/ocaml-modules/janestreet/0.14.nix +++ b/pkgs/development/ocaml-modules/janestreet/0.14.nix @@ -158,7 +158,8 @@ rec { base = janePackage { pname = "base"; - hash = "1d5ynzzq58g9qammhba5dasrg734p9vndq28a7kg80bdxb8gh3kp"; + version = "0.14.1"; + hash = "1hizjxmiqlj2zzkwplzjamw9rbnl0kh44sxgjpzdij99qnfkzylf"; minimumOCamlVersion = "4.07"; meta.description = "Full standard library replacement for OCaml"; buildInputs = [ dune-configurator ];