diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-04-22 06:01:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 06:01:51 +0000 |
commit | e31746a7f5c8121b7e7310e9f234dacdbb5f3ca1 (patch) | |
tree | 4ead0a6479e2e6a4bcbce09dcb53fc6852f7ca02 | |
parent | 88e6132fe804f2245dab8215d65964fa8620102b (diff) | |
parent | 155b9301dac57151d15115f3649d583c7d95ac19 (diff) | |
download | nixpkgs-e31746a7f5c8121b7e7310e9f234dacdbb5f3ca1.tar nixpkgs-e31746a7f5c8121b7e7310e9f234dacdbb5f3ca1.tar.gz nixpkgs-e31746a7f5c8121b7e7310e9f234dacdbb5f3ca1.tar.bz2 nixpkgs-e31746a7f5c8121b7e7310e9f234dacdbb5f3ca1.tar.lz nixpkgs-e31746a7f5c8121b7e7310e9f234dacdbb5f3ca1.tar.xz nixpkgs-e31746a7f5c8121b7e7310e9f234dacdbb5f3ca1.tar.zst nixpkgs-e31746a7f5c8121b7e7310e9f234dacdbb5f3ca1.zip |
Merge staging-next into staging
18 files changed, 171 insertions, 60 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 78c3fcbbf99..c2788a7193b 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -675,6 +675,12 @@ githubId = 858965; name = "Andrew Morsillo"; }; + an-empty-string = { + name = "Tris Emmy Wilson"; + email = "tris@tris.fyi"; + github = "an-empty-string"; + githubId = 681716; + }; andehen = { email = "git@andehen.net"; github = "andehen"; diff --git a/pkgs/tools/networking/p2p/jesec-rtorrent/rtorrent.nix b/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix index 7fe444228d3..a760a0f96c3 100644 --- a/pkgs/tools/networking/p2p/jesec-rtorrent/rtorrent.nix +++ b/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation rec { pname = "jesec-rtorrent"; - version = "0.9.8-r15"; + version = "0.9.8-r16"; src = fetchFromGitHub { owner = "jesec"; repo = "rtorrent"; rev = "v${version}"; - hash = "sha256-yYOw8wsiQd478JijLgPtEWsw2/ewd46re+t9D705rmk="; + hash = "sha256-i7c1jSawHshj1kaXl8tdpelIKU24okeg9K5/+ht6t2k="; }; nativeBuildInputs = [ @@ -39,8 +39,8 @@ stdenv.mkDerivation rec { ++ lib.optional (!jsonRpcSupport) "-DUSE_JSONRPC=NO" ++ lib.optional (!xmlRpcSupport) "-DUSE_XMLRPC=NO"; - doCheck = true; + checkInputs = [ gtest ]; diff --git a/pkgs/tools/networking/p2p/jesec-rtorrent/libtorrent.nix b/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix index d46e4a15939..ac7e15b6a2e 100644 --- a/pkgs/tools/networking/p2p/jesec-rtorrent/libtorrent.nix +++ b/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix @@ -9,27 +9,31 @@ stdenv.mkDerivation rec { pname = "jesec-libtorrent"; - version = "0.13.8-r3"; + version = "0.13.8-r4"; src = fetchFromGitHub { owner = "jesec"; repo = "libtorrent"; rev = "v${version}"; - hash = "sha256-S3DOKzXkvU+ZJxfrxwLXCVBnepzmiZ+3iiQqz084BEk="; + hash = "sha256-jC/hgGSi2qy+ToZgdxl1PhASLYbUL0O8trX0th2v5H0="; }; nativeBuildInputs = [ cmake ]; + buildInputs = [ openssl zlib ]; - doCheck = true; + # Disabled because a test is flaky; see https://github.com/jesec/libtorrent/issues/4. + # doCheck = true; + preCheck = '' export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD ''; + checkInputs = [ gtest ]; diff --git a/pkgs/tools/networking/p2p/rakshasa-rtorrent/rtorrent.nix b/pkgs/applications/networking/p2p/rakshasa-rtorrent/default.nix index f166f6d0e29..f166f6d0e29 100644 --- a/pkgs/tools/networking/p2p/rakshasa-rtorrent/rtorrent.nix +++ b/pkgs/applications/networking/p2p/rakshasa-rtorrent/default.nix diff --git a/pkgs/tools/networking/p2p/rakshasa-rtorrent/libtorrent.nix b/pkgs/applications/networking/p2p/rakshasa-rtorrent/libtorrent.nix index fff4cbb36cf..fff4cbb36cf 100644 --- a/pkgs/tools/networking/p2p/rakshasa-rtorrent/libtorrent.nix +++ b/pkgs/applications/networking/p2p/rakshasa-rtorrent/libtorrent.nix diff --git a/pkgs/applications/version-management/git-repo/default.nix b/pkgs/applications/version-management/git-repo/default.nix index eb87a20e3eb..58b3fb1d20f 100644 --- a/pkgs/applications/version-management/git-repo/default.nix +++ b/pkgs/applications/version-management/git-repo/default.nix @@ -4,13 +4,13 @@ stdenv.mkDerivation rec { pname = "git-repo"; - version = "2.23"; + version = "2.24"; src = fetchFromGitHub { owner = "android"; repo = "tools_repo"; rev = "v${version}"; - sha256 = "sha256-YW6MBX/NGQXuFWvzISWKJZkvxWc0jasxmzy/Zh1TjY0="; + sha256 = "sha256-p5zAehhqOUlKay3/Oy8hbBo5nQRIyE7o4bnaX/TabYc="; }; # Fix 'NameError: name 'ssl' is not defined' diff --git a/pkgs/data/fonts/comic-mono/comic-mono-weight.conf b/pkgs/data/fonts/comic-mono/comic-mono-weight.conf new file mode 100644 index 00000000000..97cfa3d83fd --- /dev/null +++ b/pkgs/data/fonts/comic-mono/comic-mono-weight.conf @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> +<fontconfig> + <!-- Fix missing/incorrect font weight data in Comic Mono. --> + + <match target="scan"> + <test name="fullname"> + <string>Comic Mono</string> + </test> + <edit name="weight"> + <const>book</const> + </edit> + </match> +</fontconfig> diff --git a/pkgs/data/fonts/comic-mono/default.nix b/pkgs/data/fonts/comic-mono/default.nix new file mode 100644 index 00000000000..0c915f21c13 --- /dev/null +++ b/pkgs/data/fonts/comic-mono/default.nix @@ -0,0 +1,35 @@ +{ lib, fetchFromGitHub }: + +let + version = "2020-12-28"; +in fetchFromGitHub { + name = "comic-mono-font-${version}"; + + owner = "dtinth"; + repo = "comic-mono-font"; + rev = "9a96d04cdd2919964169192e7d9de5012ef66de4"; + + postFetch = '' + mkdir -p $out/share/fonts + tar -z -f $downloadedFile --wildcards -x \*.ttf --one-top-level=$out/share/fonts + + mkdir -p $out/etc/fonts/conf.d + ln -s ${./comic-mono-weight.conf} $out/etc/fonts/conf.d/30-comic-mono.conf + ''; + + hash = "sha256-poMU+WfDZcsyWyFiiXKJ284X22CJlxQIzcJtApnIdAY="; + + meta = with lib; { + description = "A legible monospace font that looks like Comic Sans"; + longDescription = '' + A legible monospace font... the very typeface you’ve been trained to + recognize since childhood. This font is a fork of Shannon Miwa’s Comic + Shanns (version 1). + ''; + homepage = "https://dtinth.github.io/comic-mono-font/"; + + license = licenses.mit; + maintainers = with maintainers; [ an-empty-string totoroot ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/desktops/gnome/core/epiphany/default.nix b/pkgs/desktops/gnome/core/epiphany/default.nix index 649cc71cde0..2dcd037fa50 100644 --- a/pkgs/desktops/gnome/core/epiphany/default.nix +++ b/pkgs/desktops/gnome/core/epiphany/default.nix @@ -40,11 +40,11 @@ stdenv.mkDerivation rec { pname = "epiphany"; - version = "42.1"; + version = "42.2"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "aKzDxcYpF/G0ORaltGvsE29bMH8DqtpY23QMeLED8Dg="; + sha256 = "ksAs+IbRDSzP9d5ljhpCDqsx0gu1DnRtQw6VNbSFGS0="; }; patches = lib.optionals withPantheon [ diff --git a/pkgs/development/libraries/science/math/zn_poly/default.nix b/pkgs/development/libraries/science/math/zn_poly/default.nix index 38d5d91e083..3ec97e4a288 100644 --- a/pkgs/development/libraries/science/math/zn_poly/default.nix +++ b/pkgs/development/libraries/science/math/zn_poly/default.nix @@ -3,12 +3,12 @@ , fetchFromGitLab , fetchpatch , gmp -, python2 +, python3 , tune ? false # tune to hardware, impure }: stdenv.mkDerivation rec { - version = "0.9.1"; + version = "0.9.2"; pname = "zn_poly"; # sage has picked up the maintenance (bug fixes and building, not development) @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { owner = "sagemath"; repo = "zn_poly"; rev = version; - sha256 = "0ra5vy585bqq7g3317iw6fp44iqgqvds3j0l1va6mswimypq4vxb"; + hash = "sha256-QBItcrrpOGj22/ShTDdfZjm63bGW2xY4c71R1q8abPE="; }; buildInputs = [ @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ - python2 # needed by ./configure to create the makefile + python3 # needed by ./configure to create the makefile ]; # name of library file ("libzn_poly.so") @@ -44,16 +44,6 @@ stdenv.mkDerivation rec { "--disable-tuning" ]; - patches = [ - # fix format-security by not passing variables directly to printf - # https://gitlab.com/sagemath/zn_poly/merge_requests/1 - (fetchpatch { - name = "format-security.patch"; - url = "https://gitlab.com/timokau/zn_poly/commit/1950900a80ec898d342b8bcafa148c8027649766.patch"; - sha256 = "1gks9chvsfpc6sg5h3nqqfia4cgvph7jmj9dw67k7dk7kv9y0rk1"; - }) - ]; - # `make install` fails to install some header files and the lib file. installPhase = '' mkdir -p "$out/include/zn_poly" diff --git a/pkgs/development/python-modules/seabreeze/default.nix b/pkgs/development/python-modules/seabreeze/default.nix index 06802a8a2ce..6f048144dfa 100644 --- a/pkgs/development/python-modules/seabreeze/default.nix +++ b/pkgs/development/python-modules/seabreeze/default.nix @@ -4,7 +4,6 @@ , cython , git , pkgconfig -, pytest-runner , setuptools-scm , future , numpy @@ -31,11 +30,15 @@ buildPythonPackage rec { leaveDotGit = true; }; + postPatch = '' + substituteInPlace setup.py \ + --replace '"pytest-runner",' "" + ''; + nativeBuildInputs = [ cython git pkgconfig - pytest-runner setuptools-scm ]; diff --git a/pkgs/development/python-modules/wifi/default.nix b/pkgs/development/python-modules/wifi/default.nix new file mode 100644 index 00000000000..0b5a9444dbf --- /dev/null +++ b/pkgs/development/python-modules/wifi/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pbkdf2 +, pytestCheckHook +, pythonOlder +, substituteAll +, wirelesstools +}: + +buildPythonPackage rec { + pname = "wifi"; + version = "0.3.5"; + + src = fetchFromGitHub { + owner = "rockymeza"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-scg/DvApvyQZtzDgkHFJzf9gCRfJgBvZ64CG/c2Cx8E="; + }; + + disabled = pythonOlder "2.6"; + + postPatch = '' + substituteInPlace wifi/scan.py \ + --replace "/sbin/iwlist" "${wirelesstools}/bin/iwlist" + ''; + + checkInputs = [ + pytestCheckHook + ]; + + propagatedBuildInputs = [ + pbkdf2 + ]; + + pythonImportsCheck = [ "wifi" ]; + + meta = with lib; { + description = "Provides a command line wrapper for iwlist and /etc/network/interfaces"; + homepage = "https://github.com/rockymeza/wifi"; + maintainers = with maintainers; [ rhoriguchi ]; + license = licenses.bsd2; + }; +} diff --git a/pkgs/servers/web-apps/jitsi-meet/default.nix b/pkgs/servers/web-apps/jitsi-meet/default.nix index 05f33bb47de..e31327927fa 100644 --- a/pkgs/servers/web-apps/jitsi-meet/default.nix +++ b/pkgs/servers/web-apps/jitsi-meet/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "jitsi-meet"; - version = "1.0.5913"; + version = "1.0.6091"; src = fetchurl { url = "https://download.jitsi.org/jitsi-meet/src/jitsi-meet-${version}.tar.bz2"; - sha256 = "NQxGkwEqnrOrkB+Rtka1n1SDqcQqp7epmDBuXKR/qFQ="; + sha256 = "lYQGrH7D2xsRdwDC0yXB+tt4nOawEkq9A5tDIwl6pRk="; }; dontBuild = true; diff --git a/pkgs/tools/misc/didyoumean/default.nix b/pkgs/tools/misc/didyoumean/default.nix new file mode 100644 index 00000000000..cd7b8270a1a --- /dev/null +++ b/pkgs/tools/misc/didyoumean/default.nix @@ -0,0 +1,32 @@ +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +, libxcb +# Darwin dependencies +, AppKit +}: + +rustPlatform.buildRustPackage rec { + pname = "didyoumean"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "hisbaan"; + repo = "didyoumean"; + rev = "v${version}"; + sha256 = "sha256-t2bmvz05vWIxQhC474q/9uky1kAQoFN8Z+qflw5Vj68="; + }; + + cargoSha256 = "sha256-4DbziI9enib4pm9/P4WEu15glIxtejaV2GCqbzuxxyw="; + + buildInputs = lib.optional stdenv.isLinux [ libxcb ] + ++ lib.optionals stdenv.isDarwin [ AppKit ]; + + meta = with lib; { + description = "A CLI spelling corrector for when you're unsure"; + homepage = "https://github.com/hisbaan/didyoumean"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ evanjs ]; + }; +} diff --git a/pkgs/tools/networking/p2p/jesec-rtorrent/default.nix b/pkgs/tools/networking/p2p/jesec-rtorrent/default.nix deleted file mode 100644 index 56fec5333fc..00000000000 --- a/pkgs/tools/networking/p2p/jesec-rtorrent/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ lib -, pkgs -, callPackage -}: - -rec { - libtorrent = callPackage ./libtorrent.nix { }; - rtorrent = callPackage ./rtorrent.nix { }; -} diff --git a/pkgs/tools/networking/p2p/rakshasa-rtorrent/default.nix b/pkgs/tools/networking/p2p/rakshasa-rtorrent/default.nix deleted file mode 100644 index 56fec5333fc..00000000000 --- a/pkgs/tools/networking/p2p/rakshasa-rtorrent/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ lib -, pkgs -, callPackage -}: - -rec { - libtorrent = callPackage ./libtorrent.nix { }; - rtorrent = callPackage ./rtorrent.nix { }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 65b18aa9d4b..f1c1f052a14 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -433,6 +433,10 @@ with pkgs; devour = callPackage ../tools/X11/devour {}; + didyoumean = callPackage ../tools/misc/didyoumean { + inherit (darwin.apple_sdk.frameworks) AppKit; + }; + diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins; dieHook = makeSetupHook {} ../build-support/setup-hooks/die.sh; @@ -7925,21 +7929,13 @@ with pkgs; libnids = callPackage ../tools/networking/libnids { }; - rakshasa-rtorrent = recurseIntoAttrs - (callPackage ../tools/networking/p2p/rakshasa-rtorrent { - callPackage = newScope pkgs.rakshasa-rtorrent; - }); - - rtorrent = rakshasa-rtorrent.rtorrent; - libtorrent = rakshasa-rtorrent.libtorrent; - - jesec-rtorrent = recurseIntoAttrs - (callPackage ../tools/networking/p2p/jesec-rtorrent { - callPackage = newScope pkgs.jesec-rtorrent; - }); + rtorrent = callPackage ../applications/networking/p2p/rakshasa-rtorrent { + libtorrent = callPackage ../applications/networking/p2p/rakshasa-rtorrent/libtorrent.nix { }; + }; - rtorrent-jesec = jesec-rtorrent.rtorrent; - libtorrent-jesec = jesec-rtorrent.libtorrent; + jesec-rtorrent = callPackage ../applications/networking/p2p/jesec-rtorrent { + libtorrent = callPackage ../applications/networking/p2p/jesec-rtorrent/libtorrent.nix { }; + }; libmpack = callPackage ../development/libraries/libmpack { }; @@ -23946,6 +23942,8 @@ with pkgs; comfortaa = callPackage ../data/fonts/comfortaa {}; + comic-mono = callPackage ../data/fonts/comic-mono { }; + comic-neue = callPackage ../data/fonts/comic-neue { }; comic-relief = callPackage ../data/fonts/comic-relief {}; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0dde52a978d..0ed2d95217e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10830,6 +10830,8 @@ in { wiffi = callPackage ../development/python-modules/wiffi { }; + wifi = callPackage ../development/python-modules/wifi { }; + willow = callPackage ../development/python-modules/willow { }; winacl = callPackage ../development/python-modules/winacl { }; |