Merge staging-next into staging
This commit is contained in:
commit
2e00ed4420
329 changed files with 1650 additions and 1392 deletions
|
@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
||||
|
||||
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb-run dbus.daemon glibcLocales ]);
|
||||
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest-xdist polib xvfb-run dbus.daemon glibcLocales ]);
|
||||
|
||||
buildInputs = [ gnome.adwaita-icon-theme libsoup glib glib-networking gtk3 webkitgtk gdk-pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
|
||||
++ (if xineBackend then [ xine-lib ] else with gst_all_1;
|
||||
|
|
|
@ -19,18 +19,19 @@
|
|||
, protobuf
|
||||
, sqlite
|
||||
, taglib
|
||||
, libpulseaudio ? null
|
||||
, libselinux ? null
|
||||
, libsepol ? null
|
||||
, p11-kit ? null
|
||||
, util-linux ? null
|
||||
, libpulseaudio
|
||||
, libselinux
|
||||
, libsepol
|
||||
, p11-kit
|
||||
, util-linux
|
||||
, qtbase
|
||||
, qtx11extras
|
||||
, qttools
|
||||
, withGstreamer ? true
|
||||
, gst_all_1 ? null
|
||||
, glib-networking
|
||||
, gst_all_1
|
||||
, withVlc ? true
|
||||
, libvlc ? null
|
||||
, libvlc
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
|
@ -61,20 +62,18 @@ mkDerivation rec {
|
|||
taglib
|
||||
qtbase
|
||||
qtx11extras
|
||||
]
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
libpulseaudio
|
||||
libselinux
|
||||
libsepol
|
||||
p11-kit
|
||||
]
|
||||
++ lib.optionals withGstreamer (with gst_all_1; [
|
||||
] ++ lib.optionals withGstreamer (with gst_all_1; [
|
||||
glib-networking
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-plugins-ugly
|
||||
])
|
||||
++ lib.optional withVlc libvlc;
|
||||
]) ++ lib.optional withVlc libvlc;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
|
@ -85,8 +84,11 @@ mkDerivation rec {
|
|||
util-linux
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
||||
postInstall = lib.optionalString withGstreamer ''
|
||||
qtWrapperArgs+=(
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||
--prefix GIO_EXTRA_MODULES : "${glib-networking.out}/lib/gio/modules"
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
31
pkgs/applications/graphics/coreimage/default.nix
Normal file
31
pkgs/applications/graphics/coreimage/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ mkDerivation, lib, fetchFromGitLab, libcprime, qtbase, cmake, ninja }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "coreimage";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "cubocore/coreapps";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dxRHzSG5ea1MhpTjgZbFztV9mElEaeOK4NsmieSgf5Q";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
libcprime
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An image viewer from the C Suite";
|
||||
homepage = "https://gitlab.com/cubocore/coreapps/coreimage";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ dan4ik605743 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -41,7 +41,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
|||
pytest
|
||||
pytest-xvfb
|
||||
pytest-mock
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-repeat
|
||||
pytest-qt
|
||||
];
|
||||
|
|
|
@ -12,7 +12,7 @@ with python3.pkgs; buildPythonApplication rec {
|
|||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestcov
|
||||
pytest-cov
|
||||
hypothesis
|
||||
pytest
|
||||
pylint
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cherrytree";
|
||||
version = "0.99.38";
|
||||
version = "0.99.39";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "giuspen";
|
||||
repo = "cherrytree";
|
||||
rev = version;
|
||||
sha256 = "sha256-04MRw6pMtJGxTMKwOzPNGg1T85SfVY5bMkF3gt2V0e0=";
|
||||
sha256 = "sha256-QSRYtnZxLAaq42PvPd5+LxSzq/Hd/Cz5bquBTiGWnAE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -18,7 +18,7 @@ in pythonPackages.buildPythonApplication rec {
|
|||
|
||||
buildInputs = with pythonPackages; [ glibcLocales ];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 ConfigArgParse keyring pyasn1 requests six urllib3 ];
|
||||
propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 configargparse keyring pyasn1 requests six urllib3 ];
|
||||
|
||||
checkInputs = with pythonPackages; [ pytest mock ];
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "4.1.3";
|
||||
version = "4.1.5";
|
||||
|
||||
libsecp256k1_name =
|
||||
if stdenv.isLinux then "libsecp256k1.so.0"
|
||||
|
@ -36,7 +36,7 @@ let
|
|||
owner = "spesmilo";
|
||||
repo = "electrum";
|
||||
rev = version;
|
||||
sha256 = "1nkcybalkfna9zn33dxm13ic3brj50cfzwspjl349rgyar07j781";
|
||||
sha256 = "1ps8yaps5kfd7yv7bpdvssbwm6f5qivxcvhwn17cpddc2760a7nk";
|
||||
|
||||
extraPostFetch = ''
|
||||
mv $out ./all
|
||||
|
@ -51,7 +51,7 @@ python3.pkgs.buildPythonApplication {
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz";
|
||||
sha256 = "1mlwpmgfm3n45agx65jzsi4dr8nxf95x7nl01jnwa3qk5krrv4cf";
|
||||
sha256 = "188r4zji985z8pm9b942xhmvv174yndk6jxagxl7ljk03wl2wiwi";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
|
@ -154,6 +154,8 @@ python3.pkgs.buildPythonApplication {
|
|||
of the blockchain.
|
||||
'';
|
||||
homepage = "https://electrum.org/";
|
||||
downloadPage = "https://electrum.org/#download";
|
||||
changelog = "https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ joachifm np prusnak ];
|
||||
|
|
|
@ -20,7 +20,7 @@ with python3.pkgs; buildPythonApplication rec {
|
|||
pkgs.vdirsyncer
|
||||
pytz
|
||||
pyxdg
|
||||
requests_toolbelt
|
||||
requests-toolbelt
|
||||
tzlocal
|
||||
urwid
|
||||
pkginfo
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytestrunner, pytest }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest-runner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Cerberus";
|
||||
|
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
|||
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestrunner pytest ];
|
||||
checkInputs = [ pytest-runner pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://python-cerberus.org/";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, waylandSupport ? true
|
||||
, x11Support ? true
|
||||
|
||||
, ConfigArgParse
|
||||
, configargparse
|
||||
, rofi
|
||||
, wl-clipboard
|
||||
, wtype
|
||||
|
@ -26,7 +26,7 @@ buildPythonApplication rec {
|
|||
|
||||
# `rofi` and the `waylandSupport` and `x11Support` dependencies
|
||||
# contain binaries needed at runtime.
|
||||
propagatedBuildInputs = with lib; [ ConfigArgParse rofi ]
|
||||
propagatedBuildInputs = with lib; [ configargparse rofi ]
|
||||
++ optionals waylandSupport [ wl-clipboard wtype ]
|
||||
++ optionals x11Support [ xdotool xsel ];
|
||||
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "dnscontrol";
|
||||
version = "3.10.1";
|
||||
version = "3.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StackExchange";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-fYQqH/J027XJPML/qKMpuu2Nxuvb0cyjOu2czLH8SoM=";
|
||||
sha256 = "sha256-ExpwJ4lMrYy1WztYo+RYa9jb8slIa3IJk/SUKA1fBKI=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-225TR9jTZSGEJZz3csl/pR/v2unUK67l08x5ESQTJzA=";
|
||||
vendorSha256 = "sha256-IXA4YNdWR6DWIH4ceif2XcAdwnMr2kCuG3ozagtzsgo=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec {
|
|||
substituteInPlace setup.py --replace "bottle==" "bottle>="
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3Packages; [ pytestrunner ];
|
||||
nativeBuildInputs = with python3Packages; [ pytest-runner ];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
daemonocle
|
||||
dnspython
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, fetchgit
|
||||
, buildPythonApplication, buildPythonPackage
|
||||
, pygobject3, pytestrunner, requests, responses, pytest, python-olm
|
||||
, pygobject3, pytest-runner, requests, responses, pytest, python-olm
|
||||
, canonicaljson, olm
|
||||
}:
|
||||
let
|
||||
|
@ -20,7 +20,7 @@ let
|
|||
|
||||
propagatedBuildInputs = [
|
||||
requests responses olm python-olm canonicaljson
|
||||
pytestrunner pytest
|
||||
pytest-runner pytest
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
|
|
@ -36,7 +36,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
glibcLocales
|
||||
] ++ (with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
]);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchFromGitHub, buildPythonApplication, fuse
|
||||
, appdirs, colorama, python-dateutil, requests, requests_toolbelt
|
||||
, appdirs, colorama, python-dateutil, requests, requests-toolbelt
|
||||
, fusepy, sqlalchemy, setuptools }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
|
@ -16,7 +16,7 @@ buildPythonApplication rec {
|
|||
};
|
||||
|
||||
propagatedBuildInputs = [ appdirs colorama python-dateutil fusepy requests
|
||||
requests_toolbelt setuptools sqlalchemy ];
|
||||
requests-toolbelt setuptools sqlalchemy ];
|
||||
|
||||
makeWrapperArgs = [ "--prefix LIBFUSE_PATH : ${fuse}/lib/libfuse.so" ];
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ let
|
|||
pytest
|
||||
pytest-django
|
||||
pytest-env
|
||||
pytest_xdist
|
||||
pytest-xdist
|
||||
];
|
||||
|
||||
pyocrWithUserTesseract = pyPkgs:
|
||||
|
|
|
@ -44,8 +44,8 @@ buildPythonApplication rec {
|
|||
freezegun
|
||||
hypothesis
|
||||
pytest
|
||||
pytestrunner
|
||||
pytestcov
|
||||
pytest-runner
|
||||
pytest-cov
|
||||
glibcLocales
|
||||
];
|
||||
|
||||
|
|
|
@ -162,6 +162,7 @@ self = stdenv.mkDerivation {
|
|||
prefixKey = "-prefix ";
|
||||
|
||||
buildFlags = [ "revision" "coq" "coqide" "bin/votour" ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ python3Packages.buildPythonApplication rec {
|
|||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
appdirs
|
||||
ConfigArgParse
|
||||
configargparse
|
||||
connection-pool
|
||||
datrie
|
||||
docutils
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
{ mkDerivation
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, cmake
|
||||
, ninja
|
||||
, qtbase
|
||||
, qtserialport
|
||||
, qtermwidget
|
||||
, libcprime
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "coreterminal";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "cubocore/coreapps";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YXs6VTem3AaK4n1DYwKP/jqNuf09Srn2THHyJJnArlc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtserialport
|
||||
qtermwidget
|
||||
libcprime
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A terminal emulator from the C Suite";
|
||||
homepage = "https://gitlab.com/cubocore/coreapps/coreterminal";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ dan4ik605743 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
intltool
|
||||
gobject-introspection
|
||||
wrapGAppsHook
|
||||
python3.pkgs.pytestrunner
|
||||
python3.pkgs.pytest-runner
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
@ -9,7 +9,7 @@ buildPythonApplication rec {
|
|||
# application, it would mess up the Python environment. Thus, don't add it
|
||||
# here, instead add it to PATH when running unit tests
|
||||
checkInputs = [ pytest pytest-flake8 git ];
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ ipython nbformat ];
|
||||
|
||||
src = fetchPypi {
|
||||
|
|
|
@ -9,8 +9,11 @@ buildKodiAddon rec {
|
|||
sha256 = "1z49b8va7wdyr714c8ixb2sldi0igffcjj3xpbmga58ph0z985vy";
|
||||
};
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.certifi";
|
||||
passthru = {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.certifi";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -9,8 +9,11 @@ buildKodiAddon rec {
|
|||
sha256 = "1jsd165mb1b8jdan2jbjd3y3xa0xam2cxcccmwazkybpa0r6a7dj";
|
||||
};
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.chardet";
|
||||
passthru = {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.chardet";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -14,8 +14,11 @@ buildKodiAddon rec {
|
|||
six
|
||||
];
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.dateutil";
|
||||
passthru = {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.dateutil";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -9,8 +9,11 @@ buildKodiAddon rec {
|
|||
sha256 = "0pm86m8kh2p0brps3xzxcmmabvb4izkglzkj8dsn33br3vlc7cm7";
|
||||
};
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.idna";
|
||||
passthru = {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.idna";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -9,8 +9,11 @@ buildKodiAddon rec {
|
|||
sha256 = "0y4xn3ygwv1kb7gya7iwdga0g9sa89snpnram0wwqzqn8wn2lyb4";
|
||||
};
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.inputstreamhelper";
|
||||
passthru = {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.inputstreamhelper";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -10,8 +10,11 @@ buildKodiAddon rec {
|
|||
sha256 = "14m232p9hx925pbk8knsg994m1nbpa5278zmcrnfblh4z84gjv4x";
|
||||
};
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.kodi-six";
|
||||
passthru = {
|
||||
pythonPath = "libs";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.kodi-six";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -9,8 +9,11 @@ buildKodiAddon rec {
|
|||
sha256 = "1cx3qdzw9lkkmbyvyrmc2i193is20fihn2sfl7kmv43f708vam0k";
|
||||
};
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.myconnpy";
|
||||
passthru = {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.myconnpy";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -11,6 +11,8 @@ buildKodiAddon rec {
|
|||
sha256 = "0nkqhlm1gyagq6xpdgqvd5qxyr2ngpml9smdmzfabc8b972mwjml";
|
||||
};
|
||||
|
||||
passthru.pythonPath = "lib/api";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://forum.kodi.tv/showthread.php?tid=187421";
|
||||
description = "A comic book reader";
|
||||
|
|
|
@ -16,8 +16,11 @@ buildKodiAddon rec {
|
|||
urllib3
|
||||
];
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.requests";
|
||||
passthru = {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.requests";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -9,8 +9,11 @@ buildKodiAddon rec {
|
|||
sha256 = "1qcjbakch8hvx02wc01zv014nmzgn6ahc4n2bj5mzr114ppd3hjs";
|
||||
};
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.signals";
|
||||
passthru= {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.signals";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -9,8 +9,11 @@ buildKodiAddon rec {
|
|||
sha256 = "1d2k6gbsnhdadcl1xc7igz4m71z2fcnpln5ppfjv455cmkk110vf";
|
||||
};
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.urllib3";
|
||||
passthru = {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.urllib3";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -14,8 +14,11 @@ buildKodiAddon rec {
|
|||
six
|
||||
];
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.websocket";
|
||||
passthru = {
|
||||
pythonPath = "lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.websocket";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -16,8 +16,11 @@ buildKodiAddon rec {
|
|||
inputstreamhelper
|
||||
];
|
||||
|
||||
passthru.updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.youtube";
|
||||
passthru = {
|
||||
pythonPath = "resources/lib";
|
||||
updateScript = addonUpdateScript {
|
||||
attrPath = "kodi.packages.youtube";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -1,8 +1,19 @@
|
|||
{ lib, makeWrapper, buildEnv, kodi, addons }:
|
||||
{ lib, makeWrapper, buildEnv, kodi, addons, callPackage }:
|
||||
|
||||
let
|
||||
kodiPackages = callPackage ../../../top-level/kodi-packages.nix { inherit kodi; };
|
||||
|
||||
# linux distros are supposed to provide pillow and pycryptodome
|
||||
requiredPythonPackages = with kodi.pythonPackages; [ pillow pycryptodome] ++ addons;
|
||||
requiredPythonPath = with kodi.pythonPackages; makePythonPath ([ pillow pycryptodome ]);
|
||||
|
||||
# each kodi addon can potentially export a python module which should be included in PYTHONPATH
|
||||
# see any addon which supplies `passthru.pythonPath` and the corresponding entry in the addons `addon.xml`
|
||||
# eg. `<extension point="xbmc.python.module" library="lib" />` -> pythonPath = "lib";
|
||||
additionalPythonPath =
|
||||
let
|
||||
addonsWithPythonPath = lib.filter (addon: addon ? pythonPath) addons;
|
||||
in
|
||||
lib.concatMapStringsSep ":" (addon: "${addon}${kodiPackages.addonDir}/${addon.namespace}/${addon.pythonPath}") addonsWithPythonPath;
|
||||
in
|
||||
|
||||
buildEnv {
|
||||
|
@ -18,7 +29,7 @@ buildEnv {
|
|||
for exe in kodi{,-standalone}
|
||||
do
|
||||
makeWrapper ${kodi}/bin/$exe $out/bin/$exe \
|
||||
--prefix PYTHONPATH : ${kodi.pythonPackages.makePythonPath requiredPythonPackages} \
|
||||
--prefix PYTHONPATH : ${requiredPythonPath}:${additionalPythonPath} \
|
||||
--prefix KODI_HOME : $out/share/kodi \
|
||||
--prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath
|
||||
(lib.concatMap
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
{ lib, stdenv, fetchurl, python2Packages, intltool, libxml2Python }:
|
||||
|
||||
with lib;
|
||||
|
||||
let version = "0.600.4"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "virtinst";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://virt-manager.org/download/sources/virtinst/virtinst-${version}.tar.gz";
|
||||
sha256 = "175laiy49dni8hzi0cn14bbsdsigvgr9h6d9z2bcvbpa29spldvf";
|
||||
};
|
||||
|
||||
pythonPath = with python2Packages;
|
||||
[ setuptools eventlet greenlet gflags netaddr carrot routes
|
||||
PasteDeploy m2crypto ipy twisted
|
||||
distutils_extra simplejson cheetah lockfile httplib2
|
||||
# !!! should libvirt be a build-time dependency? Note that
|
||||
# libxml2Python is a dependency of libvirt.py.
|
||||
libvirt libxml2Python urlgrabber
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[ python2Packages.python
|
||||
python2Packages.wrapPython
|
||||
python2Packages.mox
|
||||
intltool
|
||||
] ++ pythonPath;
|
||||
|
||||
buildPhase = "python setup.py build";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
python setup.py install --prefix="$out";
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://virt-manager.org";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [qknight];
|
||||
description = "Command line tool which provides an easy way to provision operating systems into virtual machines";
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, writeText, asttokens
|
||||
, pycryptodome, pytest_xdist, pytestcov, recommonmark, semantic-version, sphinx
|
||||
, sphinx_rtd_theme, pytestrunner }:
|
||||
, pycryptodome, pytest-xdist, pytest-cov, recommonmark, semantic-version, sphinx
|
||||
, sphinx_rtd_theme, pytest-runner }:
|
||||
|
||||
let
|
||||
sample-contract = writeText "example.vy" ''
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
sha256 = "e763561a161c35c03b92a0c176096dd9b4c78ab003c2f08324d443f459b3de84";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
|
|
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||
pythonPackages.pytest
|
||||
];
|
||||
|
||||
checkInputs = lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytestcov ];
|
||||
checkInputs = lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytest-cov ];
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p build/external/src
|
||||
|
|
40
pkgs/development/libraries/libcprime/default.nix
Normal file
40
pkgs/development/libraries/libcprime/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ mkDerivation
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, libnotify
|
||||
, cmake
|
||||
, ninja
|
||||
, qtbase
|
||||
, qtconnectivity
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "libcprime";
|
||||
version = "4.2.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "cubocore";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-RywvFATA/+fDP/TR5QRWaJlDgy3EID//iVmrJcj3GXI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtconnectivity
|
||||
libnotify
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for bookmarking, saving recent activites, managing settings of C-Suite";
|
||||
homepage = "https://gitlab.com/cubocore/coreapps/libcprime";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ dan4ik605743 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -1,14 +1,14 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tidyp";
|
||||
version = "1.04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "petdance";
|
||||
repo = "tidyp";
|
||||
rev = version;
|
||||
sha256 = "0jslskziwzk4hb6i640fvpnbv2zxrvim6pdx2gwx5wyc64aviskc";
|
||||
src = fetchurl {
|
||||
# downloads from a legacy GitHub download page from ~11 years ago
|
||||
# project does not work with autoconf anymore and the configure script cannot be generated from the source download
|
||||
url = "https://github.com/downloads/petdance/tidyp/${pname}-${version}.tar.gz";
|
||||
sha256 = "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
|
|
@ -43,7 +43,7 @@ python27Packages.buildPythonApplication {
|
|||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
propagatedBuildInputs = [ deps.oildev python27Packages.ConfigArgParse ];
|
||||
propagatedBuildInputs = [ deps.oildev python27Packages.configargparse ];
|
||||
|
||||
patchPhase = ''
|
||||
for file in resholve; do
|
||||
|
|
|
@ -178,6 +178,7 @@
|
|||
, "np"
|
||||
, "npm"
|
||||
, "npm-check-updates"
|
||||
, "npm-merge-driver"
|
||||
, {"npm2nix": "git://github.com/NixOS/npm2nix.git#5.12.0"}
|
||||
, "ocaml-language-server"
|
||||
, "parcel-bundler"
|
||||
|
|
1065
pkgs/development/node-packages/node-packages.nix
generated
1065
pkgs/development/node-packages/node-packages.nix
generated
File diff suppressed because it is too large
Load diff
|
@ -6,7 +6,7 @@
|
|||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pytest-tornado
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, sqlalchemy
|
||||
, tornado
|
||||
, twisted
|
||||
|
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
|||
pytest-asyncio
|
||||
pytest-tornado
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
sqlalchemy
|
||||
tornado
|
||||
twisted
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "adb-shell";
|
||||
version = "0.3.4";
|
||||
version = "0.4.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
owner = "JeffLIrion";
|
||||
repo = "adb_shell";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-H1GVbMeaVUZh8T1jgZP2o+emEkK4fOi5k4aL9ayVesA=";
|
||||
sha256 = "1dzpgpvjvss4mk2kp1s9g1gg0d008pbmfdsi9b98q9fax9syk725";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, contextvars
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
buildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, isPy27
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, trustme
|
||||
, async-timeout
|
||||
}:
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
pytest
|
||||
pytest-asyncio
|
||||
pytestcov
|
||||
pytest-cov
|
||||
trustme
|
||||
async-timeout
|
||||
];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp, pytestcov }:
|
||||
{ lib, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp, pytest-cov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp-jinja2";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ aiohttp jinja2 ];
|
||||
|
||||
checkInputs = [ pytest pytest-aiohttp pytestcov ];
|
||||
checkInputs = [ pytest pytest-aiohttp pytest-cov ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest -W ignore::DeprecationWarning
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchpatch, buildPythonPackage, fetchPypi
|
||||
, aiohttp, pytest, pytestcov, pytest-aiohttp
|
||||
, aiohttp, pytest, pytest-cov, pytest-aiohttp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
checkInputs = [ pytest pytestcov pytest-aiohttp ];
|
||||
checkInputs = [ pytest pytest-cov pytest-aiohttp ];
|
||||
checkPhase = ''
|
||||
python -m pytest
|
||||
'';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
sha256 = "1r3x9qwl08yscmzvhafc6gsmq84lr17s6p7a1qxr49cmdvjzsc13";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov pytest-asyncio ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov pytest-asyncio ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generator-based operators for asynchronous iteration";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytest, pytestcov, mock, coverage, setuptools
|
||||
, pytest, pytest-cov, mock, coverage, setuptools
|
||||
, Mako, sqlalchemy, python-editor, python-dateutil
|
||||
}:
|
||||
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestcov mock coverage ];
|
||||
buildInputs = [ pytest pytest-cov mock coverage ];
|
||||
propagatedBuildInputs = [ Mako sqlalchemy python-editor python-dateutil setuptools ];
|
||||
|
||||
# no traditional test suite
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, installShellFiles
|
||||
, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml, cryptography
|
||||
, pytestrunner, coverage, flake8, mock, pytestCheckHook, pytestcov, tox, gntp, sleekxmpp
|
||||
, pytest-runner, coverage, flake8, mock, pytestCheckHook, pytest-cov, tox, gntp, sleekxmpp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestrunner coverage flake8 mock pytestCheckHook pytestcov tox gntp sleekxmpp
|
||||
pytest-runner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp
|
||||
];
|
||||
|
||||
disabledTests = [ "test_apprise_cli_nux_env" ];
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, importlib-metadata
|
||||
, pexpect
|
||||
, prettytable
|
||||
, requests_toolbelt
|
||||
, requests-toolbelt
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "argcomplete";
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
importlib-metadata
|
||||
pexpect
|
||||
prettytable
|
||||
requests_toolbelt
|
||||
requests-toolbelt
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "argcomplete" ];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, aria2, poetry, pytest, pytestcov, pytest_xdist, responses
|
||||
, aria2, poetry, pytest, pytest-cov, pytest-xdist, responses
|
||||
, asciimatics, loguru, requests, setuptools, websocket-client
|
||||
}:
|
||||
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
checkInputs = [ aria2 responses pytest pytestcov pytest_xdist ];
|
||||
checkInputs = [ aria2 responses pytest pytest-cov pytest-xdist ];
|
||||
|
||||
# Tests are not all stable/deterministic,
|
||||
# they rely on actually running an aria2c daemon and communicating with it,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, glibcLocales
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
LC_ALL = "en_US.UTF-8";
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, nose, chai, simplejson, backports_functools_lru_cache
|
||||
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov
|
||||
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytest-cov
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
dateparser
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
pytz
|
||||
simplejson
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncio_mqtt";
|
||||
version = "0.9.1";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0550229cecde6ff1751c49dd5ea26b02bf52b7e9bbe9bf763da765f35bb281de";
|
||||
sha256 = "0s94dvgh1fazycppki5m6f9d60hc4ykhqfznlzpwl4dzknxplpsz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, isPy3k, pythonOlder, fetchPypi, buildPythonPackage
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, sybil
|
||||
, typing-extensions
|
||||
}:
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest pytestcov sybil
|
||||
pytest pytest-cov sybil
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
sha256 = "039pxzgll2yz8xpr6bw788ymvgvqgna5kgl9m6d9mzi4yhbjsjpx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
, pytest
|
||||
, pytest-black
|
||||
, pytest-flake8
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
checkInputs = [ pytest pytest-flake8 pytest-black pytestcov ];
|
||||
checkInputs = [ pytest pytest-flake8 pytest-black pytest-cov ];
|
||||
# ironically, they fail a linting test, and pytest.ini forces that test suite
|
||||
checkPhase = ''
|
||||
rm backports/functools_lru_cache.py
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, fetchFromGitHub
|
||||
, wheel, pytestCheckHook, pytestrunner, pythonAtLeast }:
|
||||
, wheel, pytestCheckHook, pytest-runner, pythonAtLeast }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.18.4";
|
||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [ wheel ];
|
||||
|
||||
# Using pytes instead of setuptools check hook allows disabling specific tests
|
||||
checkInputs = [ pytestCheckHook pytestrunner ];
|
||||
checkInputs = [ pytestCheckHook pytest-runner ];
|
||||
dontUseSetuptoolsCheck = true;
|
||||
disabledTests = [
|
||||
# Test fails with a an error: AssertionError: assert 30 == 31
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, betamax, requests_toolbelt }:
|
||||
, betamax, requests-toolbelt }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "betamax-matchers";
|
||||
|
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
|||
sha256 = "07qpwjyq2i2aqhz5iwghnj4pqr2ys5n45v1vmpcfx9r5mhwrsq43";
|
||||
};
|
||||
|
||||
buildInputs = [ betamax requests_toolbelt ];
|
||||
buildInputs = [ betamax requests-toolbelt ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/sigmavirus24/betamax_matchers";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, six
|
||||
, html5lib
|
||||
, setuptools
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-mLMXBznl6D3Z3BljPwdHJ62EjL7bYCZwjIrC07aXpDM=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
propagatedBuildInputs = [ packaging six html5lib setuptools ];
|
||||
|
||||
# Disable network tests
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
, makeFontsConf
|
||||
, freefont_ttf
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, glibcLocales
|
||||
, cairo
|
||||
, cffi
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
, makeFontsConf
|
||||
, freefont_ttf
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, glibcLocales
|
||||
, cairo
|
||||
, cffi
|
||||
|
|
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
fontDirectories = [ freefont_ttf ];
|
||||
};
|
||||
|
||||
checkInputs = [ numpy pytest pytestrunner glibcLocales ];
|
||||
checkInputs = [ numpy pytest pytest-runner glibcLocales ];
|
||||
propagatedBuildInputs = [ cairo cffi ] ++ lib.optional withXcffib xcffib;
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook, pytestcov }:
|
||||
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook, pytest-cov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "capturer";
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
, buildPythonPackage
|
||||
, python, runCommand
|
||||
, fetchFromGitHub
|
||||
, ConfigArgParse, acme, configobj, cryptography, distro, josepy, parsedatetime, pyRFC3339, pyopenssl, pytz, requests, six, zope_component, zope_interface
|
||||
, configargparse, acme, configobj, cryptography, distro, josepy, parsedatetime, pyRFC3339, pyopenssl, pytz, requests, six, zope_component, zope_interface
|
||||
, dialog, gnureadline
|
||||
, pytest_xdist, pytestCheckHook, python-dateutil
|
||||
, pytest-xdist, pytestCheckHook, python-dateutil
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
sourceRoot = "source/${pname}";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ConfigArgParse
|
||||
configargparse
|
||||
acme
|
||||
configobj
|
||||
cryptography
|
||||
|
@ -42,7 +42,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
python-dateutil
|
||||
pytestCheckHook
|
||||
pytest_xdist
|
||||
pytest-xdist
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
# pythonPackages
|
||||
, click
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytestrunner
|
||||
, pytest-cov
|
||||
, pytest-runner
|
||||
, pyyaml
|
||||
, six
|
||||
}:
|
||||
|
@ -30,8 +30,8 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytestrunner
|
||||
pytest-cov
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, coveralls
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, cython
|
||||
, numpy
|
||||
, python
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
pytestCheckHook
|
||||
coveralls
|
||||
pytestcov
|
||||
pytest-cov
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, fetchpatch
|
||||
, pytest, pytestrunner, hypothesis }:
|
||||
, pytest, pytest-runner, hypothesis }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chardet";
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
})
|
||||
];
|
||||
|
||||
checkInputs = [ pytest pytestrunner hypothesis ];
|
||||
checkInputs = [ pytest pytest-runner hypothesis ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/chardet/chardet";
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
, portend
|
||||
, pyopenssl
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
, requests
|
||||
, requests-toolbelt
|
||||
|
@ -46,7 +46,7 @@ buildPythonPackage rec {
|
|||
portend
|
||||
pyopenssl
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
requests
|
||||
requests-toolbelt
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, stdenv, buildPythonPackage, fetchPypi
|
||||
, setuptools-scm
|
||||
, cheroot, contextlib2, portend, routes, six, zc_lockfile
|
||||
, backports_unittest-mock, objgraph, pathpy, pytest, pytestcov, backports_functools_lru_cache, requests_toolbelt
|
||||
, backports_unittest-mock, objgraph, pathpy, pytest, pytest-cov, backports_functools_lru_cache, requests-toolbelt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
checkInputs = [
|
||||
backports_unittest-mock objgraph pathpy pytest pytestcov backports_functools_lru_cache requests_toolbelt
|
||||
backports_unittest-mock objgraph pathpy pytest pytest-cov backports_functools_lru_cache requests-toolbelt
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, setuptools-scm
|
||||
, cheroot, portend, more-itertools, zc_lockfile, routes
|
||||
, jaraco_collections
|
||||
, objgraph, pytest, pytestcov, pathpy, requests_toolbelt, pytest-services
|
||||
, objgraph, pytest, pytest-cov, pathpy, requests-toolbelt, pytest-services
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
|
@ -47,7 +47,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
objgraph pytest pytestcov pathpy requests_toolbelt pytest-services
|
||||
objgraph pytest pytest-cov pathpy requests-toolbelt pytest-services
|
||||
];
|
||||
|
||||
# Keyboard interrupt ends test suite run
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, pytest, pytestrunner, pytestCheckHook }:
|
||||
, pytest, pytest-runner, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
sha256 = "12ax07n81vxbyayhwzi1q6x7gfmwmvrvwm1n4ii6qa6fqlp9pzj7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ]; # pytest-runner included in setup-requires
|
||||
nativeBuildInputs = [ pytest-runner ]; # pytest-runner included in setup-requires
|
||||
checkInputs = [ pytest pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "ci" ];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, isPy36, flake8, click, pyyaml, six, pytestCheckHook, pytestcov }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy36, flake8, click, pyyaml, six, pytestCheckHook, pytest-cov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "clickclick";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||
sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov ];
|
||||
propagatedBuildInputs = [ flake8 click pyyaml six ];
|
||||
|
||||
# test_cli asserts on exact quoting style of output
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPyPy
|
||||
, pytest, pytestcov, pytest-mock, freezegun
|
||||
, pytest, pytest-cov, pytest-mock, freezegun
|
||||
, jinja2, future, binaryornot, click, whichcraft, poyo, jinja2_time, requests
|
||||
, python-slugify }:
|
||||
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-a5pNcoguJDvgd6c5fQ8fdv5mzz35HzEV27UzDiFPpFc=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestcov pytest-mock freezegun ];
|
||||
checkInputs = [ pytest pytest-cov pytest-mock freezegun ];
|
||||
propagatedBuildInputs = [
|
||||
jinja2 future binaryornot click whichcraft poyo jinja2_time requests python-slugify
|
||||
];
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, isPy27
|
||||
, mock
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, sh
|
||||
, coverage
|
||||
, docopt
|
||||
|
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
, fetchPypi
|
||||
, tinycss2
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytestcov
|
||||
, pytest-runner
|
||||
, pytest-cov
|
||||
, pytest-flake8
|
||||
, pytest-isort
|
||||
}:
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ tinycss2 ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];
|
||||
checkInputs = [ pytest pytest-runner pytest-cov pytest-flake8 pytest-isort ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CSS selectors for Python ElementTree";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
|
||||
, asgiref, autobahn, twisted, pytestrunner
|
||||
, asgiref, autobahn, twisted, pytest-runner
|
||||
, hypothesis, pytest, pytest-asyncio, service-identity, pyopenssl
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-KWkMV4L7bA2Eo/u4GGif6lmDNrZAzvYyDiyzyWt9LeI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
propagatedBuildInputs = [ asgiref autobahn twisted service-identity pyopenssl ];
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, dbus, dbus-python, pytest, pytestcov, pytest-asyncio, pytest-timeout
|
||||
, dbus, dbus-python, pytest, pytest-cov, pytest-asyncio, pytest-timeout
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
dbus
|
||||
dbus-python
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
];
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
, flask
|
||||
, psutil
|
||||
, pytest-timeout
|
||||
, pytest_xdist
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, isPy27
|
||||
|
@ -75,7 +75,7 @@ buildPythonPackage rec {
|
|||
flask
|
||||
psutil
|
||||
pytest-timeout
|
||||
pytest_xdist
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
requests
|
||||
] ++ lib.optionals (!isPy27) [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
, fonttools, setuptools-scm
|
||||
, pytest, pytestrunner, lxml, fs, unicodedata2, fontpens
|
||||
, pytest, pytest-runner, lxml, fs, unicodedata2, fontpens
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
lxml
|
||||
fs
|
||||
unicodedata2
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, setuptools
|
||||
, coverage, pytest
|
||||
}:
|
||||
|
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||
sha256 = "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest_xdist
|
||||
, pytest-cov
|
||||
, pytest-xdist
|
||||
, pytest-django
|
||||
, mock
|
||||
}:
|
||||
|
@ -22,8 +22,8 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest_xdist
|
||||
pytest-cov
|
||||
pytest-xdist
|
||||
pytest-django
|
||||
mock
|
||||
];
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, mock
|
||||
, pygments
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-django
|
||||
, python-dateutil
|
||||
, shortuuid
|
||||
|
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
|||
mock
|
||||
pygments # not explicitly declared in setup.py, but some tests require it
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-django
|
||||
python-dateutil
|
||||
shortuuid
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, django_environ, mock, django
|
||||
, pytest, pytestrunner, pytest-django
|
||||
, pytest, pytest-runner, pytest-django
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "django-guardian";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||
sha256 = "c58a68ae76922d33e6bdc0e69af1892097838de56e93e78a8361090bcd9f89a0";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytest-django django_environ mock ];
|
||||
checkInputs = [ pytest pytest-runner pytest-django django_environ mock ];
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
|
||||
{ lib, buildPythonPackage, fetchPypi, six, pytest-cov, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.2.0";
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkInputs = [ pytestcov pytest ];
|
||||
checkInputs = [ pytest-cov pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for parsing Dockerfile files";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, mock
|
||||
, Mako
|
||||
, decorator
|
||||
|
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||
pytest
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestcov mock Mako ];
|
||||
checkInputs = [ pytest pytest-cov mock Mako ];
|
||||
|
||||
propagatedBuildInputs = [ decorator stevedore ];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytestrunner, requests, urllib3, mock, setuptools, stone }:
|
||||
, pytest-runner, requests, urllib3, mock, setuptools, stone }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dropbox";
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
# Set DROPBOX_TOKEN environment variable to a valid token.
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ requests urllib3 mock setuptools stone ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestcov, mock
|
||||
, pytest_xdist, covCore, glibcLocales }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
|
||||
, pytest-xdist, covCore, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dyn";
|
||||
|
@ -14,9 +14,9 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
mock
|
||||
pytest_xdist
|
||||
pytest-xdist
|
||||
covCore
|
||||
];
|
||||
# Disable checks because they are not stateless and require internet access.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, net-snmp
|
||||
, openssl
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-flake8
|
||||
, pytest-sugar
|
||||
, termcolor
|
||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-flake8
|
||||
pytest-sugar
|
||||
termcolor
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy, pytestCheckHook }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytest-runner, pytest, scipy, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "fastpair";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage {
|
|||
sha256 = "1l8zgr8awg27lhlkpa2dsvghrb7b12jl1bkgpzg5q7pg8nizl9mx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
checkInputs = [ pytest pytestCheckHook ];
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, numba
|
||||
, numpy
|
||||
, pandas
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, cramjam
|
||||
, fsspec
|
||||
, thrift
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-wSJ6PqW7c8DJCsGuPhXaVGM2s/1dZhLjG4C0JWPcjhY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ cramjam fsspec numba numpy pandas thrift ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, requests, beautifulsoup4, pytest, requests-mock,
|
||||
pytestrunner }:
|
||||
pytest-runner }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "favicon";
|
||||
|
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
|||
sha256 = "6d6b5a78de2a0d0084589f687f384b2ecd6a6527093fec564403b1a30605d7a8";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
checkInputs = [ pytest requests-mock ];
|
||||
propagatedBuildInputs = [ requests beautifulsoup4 ];
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, pytestCheckHook
|
||||
, ffmpeg
|
||||
, future
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest-mock
|
||||
}:
|
||||
|
||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||
})
|
||||
];
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ future ];
|
||||
checkInputs = [ pytestCheckHook pytest-mock ];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
, mock, pytest, pytestrunner
|
||||
, mock, pytest, pytest-runner
|
||||
, configparser, enum34, mccabe, pycodestyle, pyflakes, functools32, typing ? null, importlib-metadata
|
||||
}:
|
||||
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
sha256 = "07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock pytestrunner ];
|
||||
checkInputs = [ pytest mock pytest-runner ];
|
||||
propagatedBuildInputs = [ pyflakes pycodestyle mccabe ]
|
||||
++ lib.optionals (pythonOlder "3.2") [ configparser functools32 ]
|
||||
++ lib.optionals (pythonOlder "3.4") [ enum34 ]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27, flask, pytestCheckHook, pytestcov, pytest-xprocess, pytestcache }:
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27, flask, pytestCheckHook, pytest-cov, pytest-xprocess, pytestcache }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Caching";
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ flask ];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov pytest-xprocess pytestcache ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov pytest-xprocess pytestcache ];
|
||||
|
||||
disabledTests = [
|
||||
# backend_cache relies on pytest-cache, which is a stale package from 2013
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue