Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-02-14 12:19:51 +00:00 committed by GitHub
commit 6db494d527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 244 additions and 30 deletions

View file

@ -2,13 +2,13 @@
buildGoPackage rec {
pname = "cointop";
version = "1.5.5";
version = "1.6.0";
src = fetchFromGitHub {
owner = "miguelmota";
repo = pname;
rev = "v${version}";
sha256 = "051jxa07c58ym1w0mwckwxh60v28gqcpqw5nv8sm5wxil1crcayr";
sha256 = "sha256-P2LR42Qn5bBF5xcfCbxiGFBwkW/kAKVGiyED37OdZLo=";
};
goPackagePath = "github.com/miguelmota/cointop";

View file

@ -0,0 +1,55 @@
{ lib
, stdenv
, fetchgit
, meson
, ninja
, pkg-config
, scdoc
, cairo
, librsvg
, wayland
, wayland-protocols
}:
stdenv.mkDerivation rec {
pname = "lavalauncher";
version = "2.0.0";
src = fetchgit {
url = "https://git.sr.ht/~leon_plickat/lavalauncher";
rev = "v${version}";
sha256 = "MXREycR4ZetTe71ZwEqyozMJN9OLTDvU0W4J8qkTQAs=";
};
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
buildInputs = [
cairo
librsvg
wayland
wayland-protocols
];
meta = with lib; {
homepage = "https://git.sr.ht/~leon_plickat/lavalauncher";
description = "A simple launcher panel for Wayland desktops";
longDescription = ''
LavaLauncher is a simple launcher panel for Wayland desktops.
It displays a dynamically sized bar with user defined buttons. Buttons
consist of an image, which is displayed as the button icon on the bar, and
at least one shell command, which is executed when the user activates the
button.
Buttons can be activated with pointer and touch events.
A single LavaLauncher instance can provide multiple such bars, across
multiple outputs.
The Wayland compositor must implement the Layer-Shell and XDG-Output for
LavaLauncher to work.
'';
license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; unix;
};
}

View file

@ -1,6 +1,5 @@
{ lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, glib, json-glib }:
{ lib, fetchFromGitHub, fetchpatch, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, json-glib }:
with lib;
stdenv.mkDerivation rec {
pname = "bitlbee-facebook";
version = "1.2.1";
@ -12,6 +11,17 @@ stdenv.mkDerivation rec {
sha256 = "1yjhjhk3jzjip13lq009vlg84lm2lzwhac5jy0aq3vkcz6rp94rc";
};
# TODO: This patch should be included with the next release after v1.2.1
# these lines should be removed when this happens.
patches = [
(fetchpatch {
name = "FB_ORCA_AGENT_version_bump.patch";
url = "https://github.com/bitlbee/bitlbee-facebook/commit/49ea312d98b0578b9b2c1ff759e2cfa820a41f4d.patch";
sha256 = "0nzyyg8pw4f2jcickcpxq7r2la5wgl7q6iz94lhzybrkhss5753d";
}
)
];
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
buildInputs = [ bitlbee json-glib ];
@ -21,11 +31,11 @@ stdenv.mkDerivation rec {
./autogen.sh
'';
meta = {
meta = with lib; {
description = "The Facebook protocol plugin for bitlbee";
homepage = "https://github.com/bitlbee/bitlbee-facebook";
license = licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = with maintainers; [ toonn ];
platforms = platforms.linux;
};
}

View file

@ -117,6 +117,7 @@ stdenv.mkDerivation rec {
"--enable-docs"
"--enable-tools"
"--enable-guest-agent"
"--sysconfdir=/etc"
]
# disable sysctl check on darwin.
++ optional stdenv.isDarwin "--cpu=x86_64"

View file

@ -0,0 +1,54 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, base58
, py-multibase
, py-multicodec
, morphys
, py-multihash
, hypothesis
}:
buildPythonPackage rec {
pname = "py-cid";
version = "0.3.0";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "ipld";
repo = pname;
rev = "v${version}";
sha256 = "sha256-aN7ee25ghKKa90+FoMDCdGauToePc5AzDLV3tONvh4U=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "base58>=1.0.2,<2.0" "base58>=1.0.2" \
--replace "py-multihash>=0.2.0,<1.0.0" "py-multihash>=0.2.0" \
--replace "'pytest-runner'," ""
'';
propagatedBuildInputs = [
base58
py-multibase
py-multicodec
morphys
py-multihash
];
checkInputs = [
pytestCheckHook
hypothesis
];
pythonImportsCheck = [ "cid" ];
meta = with lib; {
description = "Self-describing content-addressed identifiers for distributed systems implementation in Python";
homepage = "https://github.com/ipld/py-cid";
license = licenses.mit;
maintainers = with maintainers; [ Luflosi ];
};
}

View file

@ -5,7 +5,6 @@
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytest-cov
, pytest-mock
, pytestCheckHook
, pythonOlder
@ -13,19 +12,18 @@
buildPythonPackage rec {
pname = "pyzerproc";
version = "0.4.6";
version = "0.4.8";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "emlove";
repo = pname;
rev = version;
sha256 = "1qlxvvy9fyff56dvc46nsd5ngkxqhdi7s4gwfndj7dn76j81srpq";
sha256 = "sha256-PNvkgjPcBbnETjWpVF3De9O9IprdpCke0nWvJ9Tju1M=";
};
# Remove pytest-runner, https://github.com/emlove/pyzerproc/pull/1
patchPhase = ''
substituteInPlace setup.py --replace "'pytest-runner'," ""
postPatch = ''
sed -i "/--cov/d" setup.cfg
'';
propagatedBuildInputs = [
@ -34,11 +32,11 @@ buildPythonPackage rec {
];
checkInputs = [
asynctest
pytest-asyncio
pytest-cov
pytest-mock
pytestCheckHook
] ++ lib.optionals (pythonOlder "3.8") [
asynctest
];
pythonImportsCheck = [ "pyzerproc" ];

View file

@ -0,0 +1,84 @@
{ stdenv
, fetchurl
, fontconfig
, freetype
, lib
, libICE
, libSM
, udev
, libX11
, libXcursor
, libXext
, libXfixes
, libXrandr
, libXrender
}:
stdenv.mkDerivation rec {
pname = "segger-ozone";
version = "3.22a";
src = fetchurl {
url = "https://www.segger.com/downloads/jlink/Ozone_Linux_V${(lib.replaceChars ["."] [""] version)}_x86_64.tgz";
sha256 = "0v1r8qvp1w2f3yip9fys004pa0smlmq69p7w77lfvghs1rmg1649";
};
rpath = lib.makeLibraryPath [
fontconfig
freetype
libICE
libSM
udev
libX11
libXcursor
libXext
libXfixes
libXrandr
libXrender
]
+ ":${stdenv.cc.cc.lib}/lib64";
installPhase = ''
mkdir -p $out/bin
mv Lib lib
mv * $out
ln -s $out/Ozone $out/bin
'';
postFixup = ''
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$out/Ozone" \
--set-rpath ${rpath}:$out/lib "$out/Ozone"
for file in $(find $out/lib -maxdepth 1 -type f -and -name \*.so\*); do
patchelf --set-rpath ${rpath}:$out/lib $file
done
'';
meta = with lib; {
description = "J-Link Debugger and Performance Analyzer";
longDescription = ''
Ozone is a cross-platform debugger and performance analyzer for J-Link
and J-Trace.
- Stand-alone graphical debugger
- Debug output of any tool chain and IDE 1
- C/C++ source level debugging and assembly instruction debugging
- Debug information windows for any purpose: disassembly, memory,
globals and locals, (live) watches, CPU and peripheral registers
- Source editor to fix bugs immediately
- High-speed programming of the application into the target
- Direct use of J-Link built-in features (Unlimited Flash
Breakpoints, Flash Download, Real Time Terminal, Instruction Trace)
- Scriptable project files to set up everything automatically
- New project wizard to ease the basic configuration of new projects
1 Ozone has been tested with the output of the following compilers:
GCC, Clang, ARM, IAR. Output of other compilers may be supported but is
not guaranteed to be.
'';
homepage = "https://www.segger.com/products/development-tools/ozone-j-link-debugger";
license = licenses.unfree;
maintainers = [ maintainers.bmilanov ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, protobuf, protobufc, asciidoc, iptables
, xmlto, docbook_xsl, libpaper, libnl, libcap, libnet, pkg-config
, which, python3, makeWrapper, docbook_xml_dtd_45 }:
, which, python3, makeWrapper, docbook_xml_dtd_45, perl }:
stdenv.mkDerivation rec {
pname = "criu";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkg-config docbook_xsl which makeWrapper docbook_xml_dtd_45 python3 python3.pkgs.wrapPython ];
nativeBuildInputs = [ pkg-config docbook_xsl which makeWrapper docbook_xml_dtd_45 python3 python3.pkgs.wrapPython perl ];
buildInputs = [ protobuf protobufc asciidoc xmlto libpaper libnl libcap libnet iptables ];
propagatedBuildInputs = with python3.pkgs; [ python python3.pkgs.protobuf ];
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
description = "Userspace checkpoint/restore for Linux";
homepage = "https://criu.org";
license = licenses.gpl2;
platforms = [ "x86_64-linux" ];
platforms = [ "x86_64-linux" "aarch64-linux" ];
maintainers = [ maintainers.thoughtpolice ];
};
}

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "topgrade";
version = "6.4.0";
version = "6.5.0";
src = fetchFromGitHub {
owner = "r-darwish";
repo = pname;
rev = "v${version}";
sha256 = "sha256-xrp2oGqJRhjYYZ0dDvYiUfgKM2mazOAlkJQyawDk2y4=";
sha256 = "sha256-O2k9eUs+aopwtT/DXYIv9pc9z8W4K6cXUE6diqNDTrg=";
};
cargoSha256 = "sha256-EK48mrTYgh0AgC53rvVRFfdZP/FS9LOZWr8TF13qEl0=";
cargoSha256 = "1yjhphw680cf93lgknksa67k0w0rhq6s3jinyn649wd71gbc5656";
buildInputs = lib.optional stdenv.isDarwin Foundation;

View file

@ -1,27 +1,33 @@
{ lib, stdenv, fetchFromGitHub } :
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "proxychains";
version = "4.2.0";
version = "4.4.0";
src = fetchFromGitHub {
owner = "haad";
repo = "proxychains";
repo = pname;
rev = "${pname}-${version}";
sha256 = "015skh3z1jmm8kxbm3nkqv1w56kcvabdmcbmpwzywxr4xnh3x3pc";
sha256 = "083xdg6fsn8c2ns93lvy794rixxq8va6jdf99w1z0xi4j7f1nyjw";
};
postPatch = ''
# Temporary work-around; most likely fixed by next upstream release
sed -i Makefile -e '/-lpthread/a LDFLAGS+=-ldl'
# Suppress compiler warning. Remove it when upstream fix arrives
substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
'';
postInstall = ''
cp src/proxychains.conf $out/etc
'';
meta = {
meta = with lib; {
description = "Proxifier for SOCKS proxies";
homepage = "http://proxychains.sourceforge.net";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ fab ];
platforms = platforms.linux;
};
}

View file

@ -12774,6 +12774,8 @@ in
scss-lint = callPackage ../development/tools/scss-lint { };
segger-ozone = callPackage ../development/tools/misc/segger-ozone { };
shadowenv = callPackage ../tools/misc/shadowenv {
inherit (darwin.apple_sdk.frameworks) Security;
};
@ -25371,6 +25373,8 @@ in
testssl = callPackage ../applications/networking/testssl { };
lavalauncher = callPackage ../applications/misc/lavalauncher { };
ulauncher = callPackage ../applications/misc/ulauncher { };
twinkle = qt5.callPackage ../applications/networking/instant-messengers/twinkle { };

View file

@ -5332,6 +5332,8 @@ in {
pycparser = callPackage ../development/python-modules/pycparser { };
py-cid = callPackage ../development/python-modules/py-cid { };
py-cpuinfo = callPackage ../development/python-modules/py-cpuinfo { };
pycrc = callPackage ../development/python-modules/pycrc { };