Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2022-04-22 06:01:51 +00:00
committed by GitHub
18 changed files with 171 additions and 60 deletions
+6
View File
@@ -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";
@@ -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
];
@@ -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
];
@@ -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'
@@ -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>
+35
View File
@@ -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 youve been trained to
recognize since childhood. This font is a fork of Shannon Miwas 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;
};
}
@@ -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 [
@@ -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"
@@ -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
];
@@ -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;
};
}
+2 -2
View File
@@ -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;
+32
View File
@@ -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 ];
};
}
@@ -1,9 +0,0 @@
{ lib
, pkgs
, callPackage
}:
rec {
libtorrent = callPackage ./libtorrent.nix { };
rtorrent = callPackage ./rtorrent.nix { };
}
@@ -1,9 +0,0 @@
{ lib
, pkgs
, callPackage
}:
rec {
libtorrent = callPackage ./libtorrent.nix { };
rtorrent = callPackage ./rtorrent.nix { };
}
+12 -14
View File
@@ -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 = callPackage ../applications/networking/p2p/rakshasa-rtorrent {
libtorrent = callPackage ../applications/networking/p2p/rakshasa-rtorrent/libtorrent.nix { };
};
rtorrent = rakshasa-rtorrent.rtorrent;
libtorrent = rakshasa-rtorrent.libtorrent;
jesec-rtorrent = recurseIntoAttrs
(callPackage ../tools/networking/p2p/jesec-rtorrent {
callPackage = newScope pkgs.jesec-rtorrent;
});
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 {};
+2
View File
@@ -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 { };