Merge master into staging-next
This commit is contained in:
commit
3257feac49
|
@ -2737,6 +2737,12 @@
|
||||||
githubId = 18535642;
|
githubId = 18535642;
|
||||||
name = "Emily";
|
name = "Emily";
|
||||||
};
|
};
|
||||||
|
enderger = {
|
||||||
|
email = "endergeryt@gmail.com";
|
||||||
|
github = "enderger";
|
||||||
|
githubId = 36283171;
|
||||||
|
name = "Daniel";
|
||||||
|
};
|
||||||
endocrimes = {
|
endocrimes = {
|
||||||
email = "dani@builds.terrible.systems";
|
email = "dani@builds.terrible.systems";
|
||||||
github = "endocrimes";
|
github = "endocrimes";
|
||||||
|
|
|
@ -1,37 +1,29 @@
|
||||||
{ lib, stdenv, fetchurl, fetchpatch, alsaLib, expat, glib, libjack2, libXext, libX11, libpng
|
{ lib, stdenv, fetchurl, alsaLib, expat, glib, libjack2, libXext, libX11, libpng
|
||||||
, libpthreadstubs, libsmf, libsndfile, lv2, pkg-config, zita-resampler
|
, libpthreadstubs, libsmf, libsndfile, lv2, pkg-config, zita-resampler
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.9.18.1";
|
version = "0.9.19";
|
||||||
pname = "drumgizmo";
|
pname = "drumgizmo";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
|
url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0bpbkzcr3znbwfdk79c14n5k5hh80iqlk2nc03q95vhimbadk8k7";
|
sha256 = "18x28vhif0c97xz02k22xwqxxig6fi6j0356mlz2vf7vb25z69kl";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix build for lv2 1.18.0
|
|
||||||
(fetchpatch {
|
|
||||||
url = "http://cgit.drumgizmo.org/plugingizmo.git/patch/?id=be64ddf9da525cd5c6757464efc966052731ba71";
|
|
||||||
sha256 = "17w8g78i5avssc7m8rpw64ka3rai8dff81wfzir9cpxp8s2h44qf";
|
|
||||||
extraPrefix = "plugin/plugingizmo/";
|
|
||||||
stripLen = 1;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags = [ "--enable-lv2" ];
|
configureFlags = [ "--enable-lv2" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsaLib expat glib libjack2 libXext libX11 libpng libpthreadstubs
|
alsaLib expat glib libjack2 libXext libX11 libpng libpthreadstubs
|
||||||
libsmf libsndfile lv2 pkg-config zita-resampler
|
libsmf libsndfile lv2 zita-resampler
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An LV2 sample based drum plugin";
|
description = "An LV2 sample based drum plugin";
|
||||||
homepage = "https://www.drumgizmo.org";
|
homepage = "https://www.drumgizmo.org";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.goibhniu maintainers.nico202 ];
|
maintainers = [ maintainers.goibhniu maintainers.nico202 ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib, fetchurl, appimageTools}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "lbry-desktop";
|
||||||
|
version = "0.50.2";
|
||||||
|
in appimageTools.wrapAppImage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
# Fetch from GitHub Releases and extract
|
||||||
|
src = appimageTools.extract {
|
||||||
|
inherit name;
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/lbryio/lbry-desktop/releases/download/v${version}/LBRY_${version}.AppImage";
|
||||||
|
# Gotten from latest-linux.yml
|
||||||
|
sha512 = "br6HvVRz+ybmAhmQh3vOC5wgLmOCVrGHDn59ueWk6rFoKOCbm8WdmdadOZvHeN1ld2nlvPzEy+KXMOEfF1LeQg==";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# At runtime, Lbry likes to have access to Ffmpeg
|
||||||
|
extraPkgs = pkgs: with pkgs; [
|
||||||
|
ffmpeg
|
||||||
|
];
|
||||||
|
|
||||||
|
# General fixup
|
||||||
|
extraInstallCommands = ''
|
||||||
|
# Firstly, rename the executable to lbry for convinence
|
||||||
|
mv $out/bin/${name} $out/bin/lbry
|
||||||
|
|
||||||
|
# Now, install assets such as the desktop file and icons
|
||||||
|
install -m 444 -D ${src}/lbry.desktop -t $out/share/applications
|
||||||
|
substituteInPlace $out/share/applications/lbry.desktop \
|
||||||
|
--replace 'AppRun' '$out/bin/lbry'
|
||||||
|
cp -r ${src}/usr/share/icons $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A browser and wallet for LBRY, the decentralized, user-controlled content marketplace";
|
||||||
|
longDescription = ''
|
||||||
|
The LBRY app is a graphical browser for the decentralized content marketplace provided by the LBRY protocol.
|
||||||
|
It is essentially the lbry daemon bundled with a UI using Electron.
|
||||||
|
'';
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = "https://lbry.com/";
|
||||||
|
downloadPage = "https://lbry.com/get/";
|
||||||
|
changelog = "https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md";
|
||||||
|
maintainers = with maintainers; [ enderger ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -17,11 +17,11 @@
|
||||||
mkXfceDerivation {
|
mkXfceDerivation {
|
||||||
category = "apps";
|
category = "apps";
|
||||||
pname = "xfdashboard";
|
pname = "xfdashboard";
|
||||||
version = "0.9.1";
|
version = "0.9.2";
|
||||||
rev-prefix = "";
|
rev-prefix = "";
|
||||||
odd-unstable = false;
|
odd-unstable = false;
|
||||||
|
|
||||||
sha256 = "14k774wxbk3w0ci2mmm6bhq4i742qahd0j0dr40iwmld55473zgd";
|
sha256 = "06pvzhhkr2mimsrzlkpsrzf5fxag4fhabyb3cpmgpyp5hcbgvaj3";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
clutter
|
clutter
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
mkXfceDerivation {
|
mkXfceDerivation {
|
||||||
category = "xfce";
|
category = "xfce";
|
||||||
pname = "exo";
|
pname = "exo";
|
||||||
version = "4.16.1";
|
version = "4.16.2";
|
||||||
|
|
||||||
sha256 = "1220mq8gs5s8l0d1p92j6icldzqj6zaisp27ss5jm7hwkkcnms9n";
|
sha256 = "0rsp92j4hkr5jrkrj8anzw9fwd96xbxzpzqzqiyjjwdiq7b29l1v";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
libxslt
|
libxslt
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{lib, stdenv, fetchFromGitHub, automake, autoconf, pkg-config, libtool, python2Packages, glib, jansson}:
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3Packages
|
||||||
|
, glib, jansson }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "3.2.0";
|
version = "3.2.0";
|
||||||
|
@ -11,21 +12,15 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "18i5zvrp6dv6vygxx5nc93mai2p2x786n5lnf5avrin6xiz2j6hd";
|
sha256 = "18i5zvrp6dv6vygxx5nc93mai2p2x786n5lnf5avrin6xiz2j6hd";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./libsearpc.pc.patch ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
buildInputs = with python3Packages; [ python simplejson ];
|
||||||
nativeBuildInputs = [ pkg-config ];
|
|
||||||
buildInputs = [ automake autoconf libtool python2Packages.python python2Packages.simplejson ];
|
|
||||||
propagatedBuildInputs = [ glib jansson ];
|
propagatedBuildInputs = [ glib jansson ];
|
||||||
|
|
||||||
postPatch = "patchShebangs autogen.sh";
|
|
||||||
|
|
||||||
preConfigure = "./autogen.sh";
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/haiwen/libsearpc";
|
homepage = "https://github.com/haiwen/libsearpc";
|
||||||
description = "A simple and easy-to-use C language RPC framework (including both server side & client side) based on GObject System";
|
description = "A simple and easy-to-use C language RPC framework based on GObject System";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ greizgh ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
From: Aaron Lindsay <aaron@aclindsay.com>
|
|
||||||
|
|
||||||
--- a/libsearpc.pc.in 2013-01-10 01:35:24.000000000 -0500
|
|
||||||
+++ b/libsearpc.pc.in 2013-01-19 11:31:50.479301798 -0500
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-prefix=(DESTDIR)@prefix@
|
|
||||||
+prefix=@prefix@
|
|
||||||
exec_prefix=@exec_prefix@
|
|
||||||
libdir=@libdir@
|
|
||||||
includedir=@includedir@
|
|
|
@ -2,22 +2,23 @@
|
||||||
, async-dns
|
, async-dns
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, ifaddr
|
, ifaddr
|
||||||
, pyroute2
|
, pyroute2
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiodiscover";
|
pname = "aiodiscover";
|
||||||
version = "1.3.3";
|
version = "1.3.4";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bdraco";
|
owner = "bdraco";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "186agrjx818vn00d3pqlka5ir48rgpbfyn1cifkn9ylsxg9cz3ph";
|
sha256 = "sha256-TmWl5d5HwyqWPUjwtEvc5FzVfxV/K1pekljcMkGN0Ag=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -30,9 +31,21 @@ buildPythonPackage rec {
|
||||||
substituteInPlace setup.py --replace '"pytest-runner>=5.2",' ""
|
substituteInPlace setup.py --replace '"pytest-runner>=5.2",' ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Tests require access to /etc/resolv.conf
|
checkInputs = [
|
||||||
# pythonImportsCheck doesn't work as async-dns wants to create its CONFIG_DIR
|
pytest-asyncio
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
export HOME=$TMPDIR
|
||||||
|
'';
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Tests require access to /etc/resolv.conf
|
||||||
|
"test_async_discover_hosts"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = ["aiodiscover"];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module to discover hosts via ARP and PTR lookup";
|
description = "Python module to discover hosts via ARP and PTR lookup";
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
{ lib
|
|
||||||
, buildPythonPackage
|
|
||||||
, fetchFromGitHub
|
|
||||||
, isPy27
|
|
||||||
, six
|
|
||||||
, requests
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage {
|
|
||||||
pname = "ipfsapi";
|
|
||||||
version = "0.4.2.post1";
|
|
||||||
disabled = isPy27;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "ipfs";
|
|
||||||
repo = "py-ipfs-api";
|
|
||||||
rev = "0c485544a114f580c65e2ffbb5782efbf7fd9f61";
|
|
||||||
sha256 = "1v7f77cv95yv0v80gisdh71mj7jcq41xcfip6bqm57zfdbsa0xpn";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ six requests ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "A python client library for the IPFS API";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ mguentner ];
|
|
||||||
homepage = "https://pypi.python.org/pypi/ipfsapi";
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
|
@ -0,0 +1,82 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
, python
|
||||||
|
, py-multiaddr
|
||||||
|
, requests
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-cov
|
||||||
|
, pytest-dependency
|
||||||
|
, pytest-localserver
|
||||||
|
, pytest-mock
|
||||||
|
, pytest-order
|
||||||
|
, pytest-cid
|
||||||
|
, mock
|
||||||
|
, ipfs
|
||||||
|
, httpx
|
||||||
|
, httpcore
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ipfshttpclient";
|
||||||
|
version = "0.7.0";
|
||||||
|
format = "flit";
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ipfs-shipyard";
|
||||||
|
repo = "py-ipfs-http-client";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-0lMoZo/9kZUXkaKvD9ZAZDQdGX7eNLzJVszZdlM/3Qs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
py-multiaddr
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-cov
|
||||||
|
pytest-dependency
|
||||||
|
pytest-localserver
|
||||||
|
pytest-mock
|
||||||
|
pytest-order
|
||||||
|
pytest-cid
|
||||||
|
mock
|
||||||
|
ipfs
|
||||||
|
httpcore
|
||||||
|
httpx
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Remove when the package supports the latest IPFS version by default
|
||||||
|
substituteInPlace ipfshttpclient/client/__init__.py \
|
||||||
|
--replace 'VERSION_MAXIMUM = "0.8.0"' \
|
||||||
|
'VERSION_MAXIMUM = "0.9.0"'
|
||||||
|
|
||||||
|
# Use pytest-order instead of pytest-ordering since the latter is unmaintained and broken
|
||||||
|
substituteInPlace test/run-tests.py \
|
||||||
|
--replace 'pytest_ordering' 'pytest_order'
|
||||||
|
substituteInPlace test/functional/test_miscellaneous.py \
|
||||||
|
--replace '@pytest.mark.last' '@pytest.mark.order("last")'
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
|
||||||
|
${python.interpreter} -X utf8 test/run-tests.py
|
||||||
|
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "ipfshttpclient" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A python client library for the IPFS API";
|
||||||
|
homepage = "https://github.com/ipfs-shipyard/py-ipfs-http-client";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ mguentner Luflosi ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, karton-core
|
||||||
|
, python
|
||||||
|
, yara-python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "karton-yaramatcher";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "CERT-Polska";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "093h5hbx2ss4ly523gvf10a5ky3vvin6wipigvhx13y1rdxl6c9n";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
karton-core
|
||||||
|
yara-python
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace requirements.txt \
|
||||||
|
--replace "karton-core==4.0.5" "karton-core" \
|
||||||
|
--replace "yara-python==4.0.2" "yara-python" \
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
${python.interpreter} -m unittest discover
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "karton.yaramatcher" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "File and analysis artifacts yara matcher for the Karton framework";
|
||||||
|
homepage = "https://github.com/CERT-Polska/karton-yaramatcher";
|
||||||
|
license = with licenses; [ bsd3 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,22 +1,27 @@
|
||||||
{lib, buildPythonPackage, fetchPypi}:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyroute2";
|
pname = "pyroute2";
|
||||||
version = "0.5.14";
|
version = "0.5.18";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "774c5ecf05fe40f0f601a7ab33c19ca0b24f00bf4a094e58deaa5333b7ca49b5";
|
sha256 = "sha256-CKxAytUsC7Lg8gCHUgWZqpH8zgsiHdJukEIzBCiBC8U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# requires root priviledges
|
# Requires root privileges, https://github.com/svinota/pyroute2/issues/778
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pyroute2" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python Netlink library";
|
description = "Python Netlink library";
|
||||||
homepage = "https://github.com/svinota/pyroute2";
|
homepage = "https://github.com/svinota/pyroute2";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [maintainers.mic92];
|
maintainers = with maintainers; [ mic92 ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,82 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy27
|
||||||
|
, Babel
|
||||||
|
, colorama
|
||||||
|
, cssselect
|
||||||
|
, dateutil
|
||||||
|
, feedparser
|
||||||
|
, futures
|
||||||
|
, gdata
|
||||||
|
, gnupg
|
||||||
|
, google-api-python-client
|
||||||
|
, html2text
|
||||||
|
, libyaml
|
||||||
|
, lxml
|
||||||
|
, mechanize
|
||||||
|
, nose
|
||||||
|
, pdfminer
|
||||||
|
, pillow
|
||||||
|
, prettytable
|
||||||
|
, pyqt5
|
||||||
|
, pyyaml
|
||||||
|
, requests
|
||||||
|
, simplejson
|
||||||
|
, termcolor
|
||||||
|
, unidecode
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "woob";
|
||||||
|
version = "3.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "09hpxy5zhn2b8li0xjf3zd7s46lawb0315p5mdcsci3bj3s4v1j7";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Disable doctests that require networking:
|
||||||
|
./no-test-requiring-network.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [ nose ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pyqt5 ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
Babel
|
||||||
|
colorama
|
||||||
|
cssselect
|
||||||
|
dateutil
|
||||||
|
feedparser
|
||||||
|
gdata
|
||||||
|
gnupg
|
||||||
|
google-api-python-client
|
||||||
|
html2text
|
||||||
|
libyaml
|
||||||
|
lxml
|
||||||
|
mechanize
|
||||||
|
pdfminer
|
||||||
|
pillow
|
||||||
|
prettytable
|
||||||
|
pyqt5
|
||||||
|
pyyaml
|
||||||
|
requests
|
||||||
|
simplejson
|
||||||
|
termcolor
|
||||||
|
unidecode
|
||||||
|
] ++ lib.optionals isPy27 [ futures ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
nosetests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://woob.tech";
|
||||||
|
description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser";
|
||||||
|
license = licenses.lgpl3Plus;
|
||||||
|
maintainers = [ maintainers.DamienCassou ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
--- a/woob/browser/browsers.py
|
||||||
|
+++ b/woob/browser/browsers.py
|
||||||
|
@@ -930,23 +930,6 @@
|
||||||
|
|
||||||
|
:class:`NextPage` constructor can take an url or a Request object.
|
||||||
|
|
||||||
|
- >>> from .pages import HTMLPage
|
||||||
|
- >>> class Page(HTMLPage):
|
||||||
|
- ... def iter_values(self):
|
||||||
|
- ... for el in self.doc.xpath('//li'):
|
||||||
|
- ... yield el.text
|
||||||
|
- ... for next in self.doc.xpath('//a'):
|
||||||
|
- ... raise NextPage(next.attrib['href'])
|
||||||
|
- ...
|
||||||
|
- >>> class Browser(PagesBrowser):
|
||||||
|
- ... BASEURL = 'https://woob.tech'
|
||||||
|
- ... list = URL('/tests/list-(?P<pagenum>\d+).html', Page)
|
||||||
|
- ...
|
||||||
|
- >>> b = Browser()
|
||||||
|
- >>> b.list.go(pagenum=1) # doctest: +ELLIPSIS
|
||||||
|
- <woob.browser.browsers.Page object at 0x...>
|
||||||
|
- >>> list(b.pagination(lambda: b.page.iter_values()))
|
||||||
|
- ['One', 'Two', 'Three', 'Four']
|
||||||
|
"""
|
||||||
|
while True:
|
||||||
|
try:
|
||||||
|
--- a/woob/browser/pages.py
|
||||||
|
+++ b/woob/browser/pages.py
|
||||||
|
@@ -49,25 +49,6 @@
|
||||||
|
|
||||||
|
:class:`NextPage` constructor can take an url or a Request object.
|
||||||
|
|
||||||
|
- >>> class Page(HTMLPage):
|
||||||
|
- ... @pagination
|
||||||
|
- ... def iter_values(self):
|
||||||
|
- ... for el in self.doc.xpath('//li'):
|
||||||
|
- ... yield el.text
|
||||||
|
- ... for next in self.doc.xpath('//a'):
|
||||||
|
- ... raise NextPage(next.attrib['href'])
|
||||||
|
- ...
|
||||||
|
- >>> from .browsers import PagesBrowser
|
||||||
|
- >>> from .url import URL
|
||||||
|
- >>> class Browser(PagesBrowser):
|
||||||
|
- ... BASEURL = 'https://woob.tech'
|
||||||
|
- ... list = URL('/tests/list-(?P<pagenum>\d+).html', Page)
|
||||||
|
- ...
|
||||||
|
- >>> b = Browser()
|
||||||
|
- >>> b.list.go(pagenum=1) # doctest: +ELLIPSIS
|
||||||
|
- <woob.browser.pages.Page object at 0x...>
|
||||||
|
- >>> list(b.page.iter_values())
|
||||||
|
- ['One', 'Two', 'Three', 'Four']
|
||||||
|
"""
|
||||||
|
|
||||||
|
@wraps(func)
|
|
@ -15,15 +15,15 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "deno";
|
pname = "deno";
|
||||||
version = "1.8.3";
|
version = "1.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "denoland";
|
owner = "denoland";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-QkVDIpJ4VW3DpcwhydDnt68zxVXwkitIiN8blGlqX1g=";
|
sha256 = "sha256-LrJGwsP+P8zXYwboF5791YuWGVdhcQJLOoBv+VzrYzs=";
|
||||||
};
|
};
|
||||||
cargoSha256 = "sha256-pf/4/H3wNORNvAswz8+7B3x5T5MyQgW7HgtDLBhfE/o=";
|
cargoSha256 = "sha256-JDapls3nRNETri6nZPRjZFlAFVN1Owhp965zf0Rn3ug=";
|
||||||
|
|
||||||
# Install completions post-install
|
# Install completions post-install
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
|
@ -11,11 +11,11 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
fetch_librusty_v8 {
|
fetch_librusty_v8 {
|
||||||
version = "0.21.0";
|
version = "0.22.1";
|
||||||
shas = {
|
shas = {
|
||||||
x86_64-linux = "sha256-oxGCM6jlqafjAfTtFwARxBv/8tiUaD9A2TlLyj/3LlQ=";
|
x86_64-linux = "sha256-rHI5qzwmDvlIdjUCZwvl6/s2Oe6d3/V7TJwfP1AFjik=";
|
||||||
aarch64-linux = "sha256-yeDcrxEp3qeE6/NWEc1v7VoHjlgppIOkcHTNVksXNsM=";
|
aarch64-linux = "sha256-7VhrOkzWayZFTsq0II5uh+TxXaIDSkc0E19ZwT3Hl6c=";
|
||||||
x86_64-darwin = "sha256-QqdBa59xPxM8eDRzvPxvv9HFVgp2rt+5jiwIOgsi8JE=";
|
x86_64-darwin = "sha256-zXXL2YqgjFmuDHGReIGWVxfSS3PMND0J0qlHRV/rKs8=";
|
||||||
aarch64-darwin = "sha256-aq2Kjn8QSDMhNg8pEbXkJCHUKmDTNnitq42SDDVyRd4=";
|
aarch64-darwin = "sha256-X/CCJn5yWJH2x6lCGAFllrQUj7XLA3TICRP3aiWytjk=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,13 +3,13 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "terraform";
|
name = "terraform";
|
||||||
publisher = "hashicorp";
|
publisher = "hashicorp";
|
||||||
version = "2.9.1";
|
version = "2.10.0";
|
||||||
};
|
};
|
||||||
|
|
||||||
vsix = fetchurl {
|
vsix = fetchurl {
|
||||||
name = "${mktplcRef.publisher}-${mktplcRef.name}.zip";
|
name = "${mktplcRef.publisher}-${mktplcRef.name}.zip";
|
||||||
url = "https://github.com/hashicorp/vscode-terraform/releases/download/v${mktplcRef.version}/terraform-${mktplcRef.version}.vsix";
|
url = "https://github.com/hashicorp/vscode-terraform/releases/download/v${mktplcRef.version}/${mktplcRef.name}-${mktplcRef.version}.vsix";
|
||||||
sha256 = "1i4pzxw57hf2g7x62hfsb588b1lz3zjjh8ny96qqrif2bj2h887z";
|
sha256 = "1xhypy4vvrzxj3qwkzpfx8b48hddf72mxmh0hgz7iry6bch6sh5f";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./fix-terraform-ls.patch ];
|
patches = [ ./fix-terraform-ls.patch ];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, libnl, openssl, sqlite ? null }:
|
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, libnl, openssl, sqlite ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hostapd";
|
pname = "hostapd";
|
||||||
|
@ -43,6 +43,12 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://w1.fi/security/2020-1/0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch";
|
url = "https://w1.fi/security/2020-1/0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch";
|
||||||
sha256 = "12npqp2skgrj934wwkqicgqksma0fxz09di29n1b5fm5i4njl8d8";
|
sha256 = "12npqp2skgrj934wwkqicgqksma0fxz09di29n1b5fm5i4njl8d8";
|
||||||
})
|
})
|
||||||
|
# In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2021-30004.patch";
|
||||||
|
url = "https://w1.fi/cgit/hostap/patch/?id=a0541334a6394f8237a4393b7372693cd7e96f15";
|
||||||
|
sha256 = "1gbhlz41x1ar1hppnb76pqxj6vimiypy7c4kq6h658637s4am3xg";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
|
@ -37,6 +37,12 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://w1.fi/security/2021-1/0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch";
|
url = "https://w1.fi/security/2021-1/0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch";
|
||||||
sha256 = "04cnds7hmbqc44jasabjvrdnh66i5hwvk2h2m5z94pmgbzncyh3z";
|
sha256 = "04cnds7hmbqc44jasabjvrdnh66i5hwvk2h2m5z94pmgbzncyh3z";
|
||||||
})
|
})
|
||||||
|
# In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2021-30004.patch";
|
||||||
|
url = "https://w1.fi/cgit/hostap/patch/?id=a0541334a6394f8237a4393b7372693cd7e96f15";
|
||||||
|
sha256 = "1gbhlz41x1ar1hppnb76pqxj6vimiypy7c4kq6h658637s4am3xg";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO: Patch epoll so that the dbus actually responds
|
# TODO: Patch epoll so that the dbus actually responds
|
||||||
|
|
|
@ -2692,11 +2692,11 @@ lib.makeScope newScope (self: with self; {
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
xorgserver = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, openssl, libX11, libXau, libXaw, libxcb, xcbutil, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, libXdmcp, libXfixes, libxkbfile, libXmu, libXpm, libXrender, libXres, libXt }: stdenv.mkDerivation {
|
xorgserver = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, openssl, libX11, libXau, libXaw, libxcb, xcbutil, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, libXdmcp, libXfixes, libxkbfile, libXmu, libXpm, libXrender, libXres, libXt }: stdenv.mkDerivation {
|
||||||
name = "xorg-server-1.20.10";
|
name = "xorg-server-1.20.11";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://xorg/individual/xserver/xorg-server-1.20.10.tar.bz2";
|
url = "mirror://xorg/individual/xserver/xorg-server-1.20.11.tar.bz2";
|
||||||
sha256 = "16bwrf0ag41l7jbrllbix8z6avc5yimga7ihvq4ch3a5hb020x4p";
|
sha256 = "0jacqgin8kcyy8fyv0lhgb4if8g9hp60rm3ih3s1mgps7xp7jk4i";
|
||||||
};
|
};
|
||||||
hardeningDisable = [ "bindnow" "relro" ];
|
hardeningDisable = [ "bindnow" "relro" ];
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
|
@ -218,4 +218,4 @@ mirror://xorg/individual/util/lndir-1.0.3.tar.bz2
|
||||||
mirror://xorg/individual/util/makedepend-1.0.6.tar.bz2
|
mirror://xorg/individual/util/makedepend-1.0.6.tar.bz2
|
||||||
mirror://xorg/individual/util/util-macros-1.19.3.tar.bz2
|
mirror://xorg/individual/util/util-macros-1.19.3.tar.bz2
|
||||||
mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2
|
mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2
|
||||||
mirror://xorg/individual/xserver/xorg-server-1.20.10.tar.bz2
|
mirror://xorg/individual/xserver/xorg-server-1.20.11.tar.bz2
|
||||||
|
|
|
@ -21,18 +21,18 @@ let
|
||||||
sources = name: system: {
|
sources = name: system: {
|
||||||
x86_64-darwin = {
|
x86_64-darwin = {
|
||||||
url = "${baseUrl}/${name}-darwin-x86_64.tar.gz";
|
url = "${baseUrl}/${name}-darwin-x86_64.tar.gz";
|
||||||
sha256 = "0csgdmzr9h3vnqn8gxvgg2mnjzackkvrid1i55l2fqcad69h6w1k";
|
sha256 = "0fb0bw16idj810si32fxqx1nl057bdsjk3pvkgzpf7j96v2lkw71";
|
||||||
};
|
};
|
||||||
|
|
||||||
x86_64-linux = {
|
x86_64-linux = {
|
||||||
url = "${baseUrl}/${name}-linux-x86_64.tar.gz";
|
url = "${baseUrl}/${name}-linux-x86_64.tar.gz";
|
||||||
sha256 = "0gcxldk3c03dipbkj9yzaa4v1s6bf9zlwslvi8dv3s3kbljjd84b";
|
sha256 = "0gnnp8whcx6ada8a4xs8kxrbza97zivk57r9qzv0q5arg4xslagr";
|
||||||
};
|
};
|
||||||
}.${system};
|
}.${system};
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "google-cloud-sdk";
|
pname = "google-cloud-sdk";
|
||||||
version = "334.0.0";
|
version = "336.0.0";
|
||||||
|
|
||||||
src = fetchurl (sources "${pname}-${version}" stdenv.hostPlatform.system);
|
src = fetchurl (sources "${pname}-${version}" stdenv.hostPlatform.system);
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, extra-cmake-modules
|
||||||
|
, pkg-config
|
||||||
|
, fcitx5
|
||||||
|
, m17n_lib
|
||||||
|
, m17n_db
|
||||||
|
, gettext
|
||||||
|
, fmt
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "fcitx5-m17n";
|
||||||
|
version = "5.0.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "fcitx";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-yI6Svr1KEdHqAX3qd7t7GvD0EcWg0A2vZpuJw1U9oKQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
extra-cmake-modules
|
||||||
|
pkg-config
|
||||||
|
gettext
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
fcitx5
|
||||||
|
m17n_db
|
||||||
|
m17n_lib
|
||||||
|
fmt
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "m17n support for Fcitx5";
|
||||||
|
homepage = "https://github.com/fcitx/fcitx5-m17n";
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
|
maintainers = with maintainers; [ Technical27 ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -20,7 +20,7 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tmux";
|
pname = "tmux";
|
||||||
version = "3.1c";
|
version = "3.2";
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "tmux";
|
owner = "tmux";
|
||||||
repo = "tmux";
|
repo = "tmux";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1fqgpzfas85dn0sxlvvg6rj488jwgnxs8d3gqcm8lgs211m9qhcf";
|
sha256 = "0alq81h1rz1f0zsy8qb2dvsl47axpa86j4bplngwkph0ksqqgr3p";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
||||||
* Terminal locking, manually or after a timeout.
|
* Terminal locking, manually or after a timeout.
|
||||||
* A clean, easily extended, BSD-licensed codebase, under active development.
|
* A clean, easily extended, BSD-licensed codebase, under active development.
|
||||||
'';
|
'';
|
||||||
|
changelog = "https://github.com/tmux/tmux/raw/${version}/CHANGES";
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
|
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
|
|
|
@ -4356,6 +4356,8 @@ in
|
||||||
|
|
||||||
fcitx5-lua = callPackage ../tools/inputmethods/fcitx5/fcitx5-lua.nix { };
|
fcitx5-lua = callPackage ../tools/inputmethods/fcitx5/fcitx5-lua.nix { };
|
||||||
|
|
||||||
|
fcitx5-m17n = callPackage ../tools/inputmethods/fcitx5/fcitx5-m17n.nix { };
|
||||||
|
|
||||||
fcitx5-gtk = callPackage ../tools/inputmethods/fcitx5/fcitx5-gtk.nix { };
|
fcitx5-gtk = callPackage ../tools/inputmethods/fcitx5/fcitx5-gtk.nix { };
|
||||||
|
|
||||||
fcitx5-rime = callPackage ../tools/inputmethods/fcitx5/fcitx5-rime.nix { };
|
fcitx5-rime = callPackage ../tools/inputmethods/fcitx5/fcitx5-rime.nix { };
|
||||||
|
@ -24052,6 +24054,8 @@ in
|
||||||
|
|
||||||
lbdb = callPackage ../tools/misc/lbdb { abook = null; gnupg = null; goobook = null; khard = null; mu = null; };
|
lbdb = callPackage ../tools/misc/lbdb { abook = null; gnupg = null; goobook = null; khard = null; mu = null; };
|
||||||
|
|
||||||
|
lbry = callPackage ../applications/video/lbry { };
|
||||||
|
|
||||||
lbzip2 = callPackage ../tools/compression/lbzip2 { };
|
lbzip2 = callPackage ../tools/compression/lbzip2 { };
|
||||||
|
|
||||||
lci = callPackage ../applications/science/logic/lci {};
|
lci = callPackage ../applications/science/logic/lci {};
|
||||||
|
|
|
@ -3397,7 +3397,7 @@ in {
|
||||||
|
|
||||||
ipdbplugin = callPackage ../development/python-modules/ipdbplugin { };
|
ipdbplugin = callPackage ../development/python-modules/ipdbplugin { };
|
||||||
|
|
||||||
ipfsapi = callPackage ../development/python-modules/ipfsapi { };
|
ipfshttpclient = callPackage ../development/python-modules/ipfshttpclient { };
|
||||||
|
|
||||||
iptools = callPackage ../development/python-modules/iptools { };
|
iptools = callPackage ../development/python-modules/iptools { };
|
||||||
|
|
||||||
|
@ -3685,6 +3685,8 @@ in {
|
||||||
|
|
||||||
karton-core = callPackage ../development/python-modules/karton-core { };
|
karton-core = callPackage ../development/python-modules/karton-core { };
|
||||||
|
|
||||||
|
karton-yaramatcher = callPackage ../development/python-modules/karton-yaramatcher { };
|
||||||
|
|
||||||
kazoo = callPackage ../development/python-modules/kazoo { };
|
kazoo = callPackage ../development/python-modules/kazoo { };
|
||||||
|
|
||||||
kconfiglib = callPackage ../development/python-modules/kconfiglib { };
|
kconfiglib = callPackage ../development/python-modules/kconfiglib { };
|
||||||
|
@ -8987,6 +8989,8 @@ in {
|
||||||
|
|
||||||
wled = callPackage ../development/python-modules/wled { };
|
wled = callPackage ../development/python-modules/wled { };
|
||||||
|
|
||||||
|
woob = callPackage ../development/python-modules/woob { };
|
||||||
|
|
||||||
word2vec = callPackage ../development/python-modules/word2vec { };
|
word2vec = callPackage ../development/python-modules/word2vec { };
|
||||||
|
|
||||||
wordcloud = callPackage ../development/python-modules/wordcloud { };
|
wordcloud = callPackage ../development/python-modules/wordcloud { };
|
||||||
|
|
Loading…
Reference in New Issue