Merge pull request #108378 from SuperSandro2000/random-fixes
This commit is contained in:
commit
1b4fb94f58
@ -1,5 +1,4 @@
|
|||||||
{ lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
{ lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
||||||
|
|
||||||
, chromecastSupport ? false
|
, chromecastSupport ? false
|
||||||
, serverSupport ? false
|
, serverSupport ? false
|
||||||
, keyringSupport ? true
|
, keyringSupport ? true
|
||||||
@ -51,6 +50,10 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# https://github.com/NixOS/nixpkgs/issues/56943
|
# https://github.com/NixOS/nixpkgs/issues/56943
|
||||||
strictDeps = false;
|
strictDeps = false;
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "sublime" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "GTK3 Subsonic/Airsonic client";
|
description = "GTK3 Subsonic/Airsonic client";
|
||||||
homepage = "https://sublimemusic.app/";
|
homepage = "https://sublimemusic.app/";
|
||||||
|
@ -19,40 +19,41 @@ stdenv.mkDerivation rec {
|
|||||||
python3Packages.python
|
python3Packages.python
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonPath = [
|
pythonPath = with python3Packages; [
|
||||||
python3Packages.libtorrent-rasterbar
|
libtorrent-rasterbar
|
||||||
python3Packages.twisted
|
twisted
|
||||||
python3Packages.netifaces
|
netifaces
|
||||||
python3Packages.pycrypto
|
pycrypto
|
||||||
python3Packages.pyasn1
|
pyasn1
|
||||||
python3Packages.requests
|
requests
|
||||||
python3Packages.m2crypto
|
m2crypto
|
||||||
python3Packages.pyqt5
|
pyqt5
|
||||||
python3Packages.chardet
|
chardet
|
||||||
python3Packages.cherrypy
|
cherrypy
|
||||||
python3Packages.cryptography
|
cryptography
|
||||||
python3Packages.libnacl
|
libnacl
|
||||||
python3Packages.configobj
|
configobj
|
||||||
python3Packages.decorator
|
decorator
|
||||||
python3Packages.feedparser
|
feedparser
|
||||||
python3Packages.service-identity
|
service-identity
|
||||||
python3Packages.psutil
|
psutil
|
||||||
python3Packages.pillow
|
pillow
|
||||||
python3Packages.networkx
|
networkx
|
||||||
python3Packages.pony
|
pony
|
||||||
python3Packages.lz4
|
lz4
|
||||||
python3Packages.pyqtgraph
|
pyqtgraph
|
||||||
|
|
||||||
# there is a BTC feature, but it requires some unclear version of
|
# there is a BTC feature, but it requires some unclear version of
|
||||||
# bitcoinlib, so this doesn't work right now.
|
# bitcoinlib, so this doesn't work right now.
|
||||||
# python3Packages.bitcoinlib
|
# bitcoinlib
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
${stdenv.lib.optionalString enablePlayer ''
|
${stdenv.lib.optionalString enablePlayer ''
|
||||||
substituteInPlace "./TriblerGUI/vlc.py" --replace "ctypes.CDLL(p)" "ctypes.CDLL('${libvlc}/lib/libvlc.so')"
|
substituteInPlace "./TriblerGUI/vlc.py" --replace "ctypes.CDLL(p)" "ctypes.CDLL('${libvlc}/lib/libvlc.so')"
|
||||||
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" --replace "if vlc and vlc.plugin_path" "if vlc"
|
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" \
|
||||||
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" --replace "os.environ['VLC_PLUGIN_PATH'] = vlc.plugin_path" "os.environ['VLC_PLUGIN_PATH'] = '${libvlc}/lib/vlc/plugins'"
|
--replace "if vlc and vlc.plugin_path" "if vlc" \
|
||||||
|
--replace "os.environ['VLC_PLUGIN_PATH'] = vlc.plugin_path" "os.environ['VLC_PLUGIN_PATH'] = '${libvlc}/lib/vlc/plugins'"
|
||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -45,6 +45,8 @@ in buildPythonPackage rec {
|
|||||||
cp ${buildWorker "${src}/worker"}/bin/worker $out/bin/builds.sr.ht-worker
|
cp ${buildWorker "${src}/worker"}/bin/worker $out/bin/builds.sr.ht-worker
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/builds.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/builds.sr.ht";
|
||||||
description = "Continuous integration service for the sr.ht network";
|
description = "Continuous integration service for the sr.ht network";
|
||||||
|
@ -24,6 +24,8 @@ buildPythonPackage rec {
|
|||||||
export PKGVER=${version}
|
export PKGVER=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://dispatch.sr.ht/~sircmpwn/dispatch.sr.ht";
|
homepage = "https://dispatch.sr.ht/~sircmpwn/dispatch.sr.ht";
|
||||||
description = "Task dispatcher and service integration tool for the sr.ht network";
|
description = "Task dispatcher and service integration tool for the sr.ht network";
|
||||||
|
@ -67,6 +67,8 @@ in buildPythonPackage rec {
|
|||||||
cp ${buildAPI "${src}/api"}/bin/api $out/bin/gitsrht-api
|
cp ${buildAPI "${src}/api"}/bin/api $out/bin/gitsrht-api
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/git.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/git.sr.ht";
|
||||||
description = "Git repository hosting service for the sr.ht network";
|
description = "Git repository hosting service for the sr.ht network";
|
||||||
|
@ -25,6 +25,8 @@ buildPythonPackage rec {
|
|||||||
export PKGVER=${version}
|
export PKGVER=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/hg.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/hg.sr.ht";
|
||||||
description = "Mercurial repository hosting service for the sr.ht network";
|
description = "Mercurial repository hosting service for the sr.ht network";
|
||||||
|
@ -22,6 +22,8 @@ buildPythonPackage rec {
|
|||||||
export PKGVER=${version}
|
export PKGVER=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/hub.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/hub.sr.ht";
|
||||||
description = "Project hub service for the sr.ht network";
|
description = "Project hub service for the sr.ht network";
|
||||||
|
@ -26,6 +26,8 @@ buildPythonPackage rec {
|
|||||||
export PKGVER=${version}
|
export PKGVER=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/lists.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/lists.sr.ht";
|
||||||
description = "Mailing list service for the sr.ht network";
|
description = "Mailing list service for the sr.ht network";
|
||||||
|
@ -23,6 +23,8 @@ buildPythonPackage rec {
|
|||||||
export PKGVER=${version}
|
export PKGVER=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/man.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/man.sr.ht";
|
||||||
description = "Wiki service for the sr.ht network";
|
description = "Wiki service for the sr.ht network";
|
||||||
|
@ -48,6 +48,8 @@ in buildPythonPackage rec {
|
|||||||
cp ${buildAPI "${src}/api"}/bin/api $out/bin/metasrht-api
|
cp ${buildAPI "${src}/api"}/bin/api $out/bin/metasrht-api
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/meta.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/meta.sr.ht";
|
||||||
description = "Account management service for the sr.ht network";
|
description = "Account management service for the sr.ht network";
|
||||||
|
@ -23,6 +23,8 @@ buildPythonPackage rec {
|
|||||||
export PKGVER=${version}
|
export PKGVER=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/paste.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/paste.sr.ht";
|
||||||
description = "Ad-hoc text file hosting service for the sr.ht network";
|
description = "Ad-hoc text file hosting service for the sr.ht network";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, python3Packages, gtk3, gobject-introspection, ffmpeg_3, wrapGAppsHook }:
|
{ stdenv, lib, python3Packages, gtk3, gobject-introspection, ffmpeg_3, wrapGAppsHook }:
|
||||||
|
|
||||||
with python3Packages;
|
with python3Packages;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
@ -24,5 +24,6 @@ buildPythonApplication rec {
|
|||||||
description = "A native Linux GUI for Chromecasting local files";
|
description = "A native Linux GUI for Chromecasting local files";
|
||||||
homepage = "https://github.com/keredson/gnomecast";
|
homepage = "https://github.com/keredson/gnomecast";
|
||||||
license = with licenses; [ gpl3 ];
|
license = with licenses; [ gpl3 ];
|
||||||
|
broken = stdenv.isDarwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,10 @@ buildPythonApplication rec {
|
|||||||
pywebview
|
pywebview
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "jellyfin_mpv_shim" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/iwalton3/jellyfin-mpv-shim";
|
homepage = "https://github.com/iwalton3/jellyfin-mpv-shim";
|
||||||
description = "Allows casting of videos to MPV via the jellyfin mobile and web app";
|
description = "Allows casting of videos to MPV via the jellyfin mobile and web app";
|
||||||
|
@ -29,6 +29,7 @@ mkDerivation rec {
|
|||||||
homepage = "https://gitlab.com/mpc-qt/mpc-qt";
|
homepage = "https://gitlab.com/mpc-qt/mpc-qt";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
broken = stdenv.isDarwin;
|
||||||
maintainers = with maintainers; [ romildo ];
|
maintainers = with maintainers; [ romildo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,9 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ mpv requests python-mpv-jsonipc ];
|
propagatedBuildInputs = [ mpv requests python-mpv-jsonipc ];
|
||||||
|
|
||||||
|
# does not contain tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/iwalton3/plex-mpv-shim";
|
homepage = "https://github.com/iwalton3/plex-mpv-shim";
|
||||||
description = "Allows casting of videos to MPV via the Plex mobile and web app";
|
description = "Allows casting of videos to MPV via the Plex mobile and web app";
|
||||||
|
@ -1,32 +1,31 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
|
||||||
, fetchFromGitHub
|
|
||||||
, setuptools
|
|
||||||
, aiounittest
|
, aiounittest
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
, isPy27
|
, isPy27
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
|
, typing-extensions
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiosqlite";
|
pname = "aiosqlite";
|
||||||
version = "0.12.0";
|
version = "0.16.0";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchPypi {
|
||||||
owner = "jreese";
|
inherit pname version;
|
||||||
repo = pname;
|
sha256 = "1a0fjmlvadyzsml10g5p1qif7192k0swy5zwjp8v48y5zc3yy56h";
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "090vdv210zfry0bms5b3lmm06yhiyjb8ga96996cqs611l7c2a2j";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
aiounittest
|
aiounittest
|
||||||
|
pytestCheckHook
|
||||||
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# tests are not pick-up automatically by the hook
|
||||||
|
pytestFlagsArray = [ "aiosqlite/tests/*.py" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Asyncio bridge to the standard sqlite3 module";
|
description = "Asyncio bridge to the standard sqlite3 module";
|
||||||
homepage = "https://github.com/jreese/aiosqlite";
|
homepage = "https://github.com/jreese/aiosqlite";
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "backports-datetime-fromisoformat";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0p0gyhfqq6gssf3prsy0pcfq5w0wx2w3pcjqbwx3imvc92ls4xwm";
|
||||||
|
};
|
||||||
|
|
||||||
|
# no tests in pypi package
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "backports.datetime_fromisoformat" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Backport of Python 3.7's datetime.fromisoformat";
|
||||||
|
homepage = "https://github.com/movermeyer/backports.datetime_fromisoformat";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
24
pkgs/development/python-modules/bitbox02/default.nix
Normal file
24
pkgs/development/python-modules/bitbox02/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, base58, ecdsa, hidapi, noiseprotocol, protobuf, semver, typing-extensions }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bitbox02";
|
||||||
|
version = "5.1.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0hnjjjarr4q22wh03zyyqfhsizzsvg46030kks3qkzbsv29vqqh5";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ base58 ecdsa hidapi noiseprotocol protobuf semver typing-extensions ];
|
||||||
|
|
||||||
|
# does not contain tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "bitbox02" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Firmware code of the BitBox02 hardware wallet";
|
||||||
|
homepage = "https://github.com/digitalbitbox/bitbox02-firmware/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -45,6 +45,8 @@ buildPythonPackage rec {
|
|||||||
"--deselect=cherrypy/test/test_bus.py::BusMethodTests::test_block"}
|
"--deselect=cherrypy/test/test_bus.py::BusMethodTests::test_block"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://www.cherrypy.org";
|
homepage = "https://www.cherrypy.org";
|
||||||
description = "A pythonic, object-oriented HTTP framework";
|
description = "A pythonic, object-oriented HTTP framework";
|
||||||
|
@ -10,6 +10,9 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0ygbddpnvp5lby6mr5kz60la3hkvwwzv3wwb3z0w9ngxl0w21pii";
|
sha256 = "0ygbddpnvp5lby6mr5kz60la3hkvwwzv3wwb3z0w9ngxl0w21pii";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "demjson" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
|
description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
|
||||||
homepage = "https://github.com/dmeranda/demjson";
|
homepage = "https://github.com/dmeranda/demjson";
|
||||||
|
@ -1,61 +1,58 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, uvicorn
|
|
||||||
, starlette
|
|
||||||
, pydantic
|
, pydantic
|
||||||
, isPy3k
|
, starlette
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytestcov
|
, pytest-asyncio
|
||||||
, pyjwt
|
|
||||||
, passlib
|
|
||||||
, aiosqlite
|
, aiosqlite
|
||||||
, peewee
|
, databases
|
||||||
, flask
|
, flask
|
||||||
|
, httpx
|
||||||
|
, passlib
|
||||||
|
, peewee
|
||||||
|
, python-jose
|
||||||
|
, sqlalchemy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fastapi";
|
pname = "fastapi";
|
||||||
version = "0.55.1";
|
version = "0.63.0";
|
||||||
format = "flit";
|
format = "flit";
|
||||||
disabled = !isPy3k;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tiangolo";
|
owner = "tiangolo";
|
||||||
repo = "fastapi";
|
repo = "fastapi";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1515nhwari48v0angyl5z3cfpvwn4al2nvqh0cjd9xgxzvm310s8";
|
sha256 = "0l3imrcs42pqf9d6k8c1q15k5sqcnapl5zk71xl52mrxhz49lgpi";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "starlette ==0.13.2" "starlette"
|
--replace "starlette ==0.13.6" "starlette"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
uvicorn
|
|
||||||
starlette
|
starlette
|
||||||
pydantic
|
pydantic
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
|
||||||
pytestcov
|
|
||||||
pyjwt
|
|
||||||
passlib
|
|
||||||
aiosqlite
|
aiosqlite
|
||||||
peewee
|
databases
|
||||||
flask
|
flask
|
||||||
|
httpx
|
||||||
|
passlib
|
||||||
|
peewee
|
||||||
|
python-jose
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
|
sqlalchemy
|
||||||
];
|
];
|
||||||
|
|
||||||
# test_default_response_class.py: requires orjson, which requires rust toolchain
|
# disabled tests require orjson which requires rust nightly
|
||||||
# test_custom_response/test_tutorial001b.py: requires orjson
|
pytestFlagsArray = [ "--ignore=tests/test_default_response_class.py" ];
|
||||||
# tests/test_tutorial/test_sql_databases/test_testing_databases.py: just broken, don't know why
|
disabledTests = [ "test_get_custom_response" ];
|
||||||
checkPhase = ''
|
|
||||||
pytest --ignore=tests/test_default_response_class.py \
|
|
||||||
--ignore=tests/test_tutorial/test_custom_response/test_tutorial001b.py \
|
|
||||||
--ignore=tests/test_tutorial/test_sql_databases/test_testing_databases.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/tiangolo/fastapi";
|
homepage = "https://github.com/tiangolo/fastapi";
|
||||||
|
30
pkgs/development/python-modules/fastdiff/default.nix
Normal file
30
pkgs/development/python-modules/fastdiff/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytest-benchmark, wasmer }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "fastdiff";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1ai95vjchl4396zjl1b69xfqvn9kn1y7c40d9l0qxdss0pcx6fk2";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace 'pytest-runner' ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ wasmer ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook pytest-benchmark ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "fastdiff" ];
|
||||||
|
disabledTests = [ "test_native" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A fast native implementation of diff algorithm with a pure Python fallback";
|
||||||
|
homepage = "https://github.com/syrusakbary/fastdiff";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
50
pkgs/development/python-modules/graphene/default.nix
Normal file
50
pkgs/development/python-modules/graphene/default.nix
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, aniso8601
|
||||||
|
, iso8601
|
||||||
|
, graphql-core
|
||||||
|
, graphql-relay
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-benchmark
|
||||||
|
, pytest-mock
|
||||||
|
, pytz
|
||||||
|
, snapshottest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "graphene";
|
||||||
|
version = "3.0.0b6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "graphql-python";
|
||||||
|
repo = "graphene";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1q6qmyc4jbi9cws4d98x7bgi7gppd09dmzijkb19fwbh4giy938r";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aniso8601
|
||||||
|
graphql-core
|
||||||
|
graphql-relay
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-benchmark
|
||||||
|
pytest-mock
|
||||||
|
pytz
|
||||||
|
snapshottest
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "graphene" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "GraphQL Framework for Python";
|
||||||
|
homepage = "https://github.com/graphql-python/graphene";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
24
pkgs/development/python-modules/graphql-relay/default.nix
Normal file
24
pkgs/development/python-modules/graphql-relay/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, graphql-core, pytestCheckHook }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "graphql-relay";
|
||||||
|
version = "3.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0mjmpf4abrxfyln0ykxq4xa6lp7xwgqr8631qp011hv0nfl6jgxd";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ graphql-core ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "graphql_relay" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A library to help construct a graphql-py server supporting react-relay";
|
||||||
|
homepage = "https://github.com/graphql-python/graphql-relay-py/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -56,6 +56,8 @@ buildPythonPackage rec {
|
|||||||
"test_sync_proxy_close"
|
"test_sync_proxy_close"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The next generation HTTP client";
|
description = "The next generation HTTP client";
|
||||||
homepage = "https://github.com/encode/httpx";
|
homepage = "https://github.com/encode/httpx";
|
||||||
|
@ -1,46 +1,47 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, mnemonic
|
, bitbox02
|
||||||
, ecdsa
|
, ecdsa
|
||||||
, typing-extensions
|
|
||||||
, hidapi
|
, hidapi
|
||||||
, libusb1
|
, libusb1
|
||||||
|
, mnemonic
|
||||||
, pyaes
|
, pyaes
|
||||||
, trezor
|
, pythonAtLeast
|
||||||
, btchip
|
|
||||||
, ckcc-protocol
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hwi";
|
pname = "hwi";
|
||||||
version = "1.2.1";
|
version = "1.2.1";
|
||||||
|
disabled = pythonAtLeast "3.9";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "bitcoin-core";
|
||||||
sha256 = "d0d220a4967d7f106b828b12a98b78c220d609d7cc6c811898e24fcf1a6f04f3";
|
repo = "HWI";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0fs3152lw7y5l9ssr5as8gd739m9lb7wxpv1vc5m77k5nw7l8ax5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'ecdsa>=0.13.0,<0.14.0'" "'ecdsa'" \
|
||||||
|
--replace "'hidapi>=0.7.99,<0.8.0'" "'hidapi'" \
|
||||||
|
--replace "'mnemonic>=0.18.0,<0.19.0'" "'mnemonic'"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
mnemonic
|
bitbox02
|
||||||
ecdsa
|
ecdsa
|
||||||
typing-extensions
|
|
||||||
hidapi
|
hidapi
|
||||||
libusb1
|
libusb1
|
||||||
|
mnemonic
|
||||||
pyaes
|
pyaes
|
||||||
trezor
|
|
||||||
btchip
|
|
||||||
ckcc-protocol
|
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [ ./relax-deps.patch ];
|
# tests require to clone quite a few firmwares
|
||||||
|
|
||||||
# tests are not packaged in the released tarball
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "hwilib" ];
|
||||||
"hwilib"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Bitcoin Hardware Wallet Interface";
|
description = "Bitcoin Hardware Wallet Interface";
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -98,10 +98,10 @@ package_data = \
|
|
||||||
modules = \
|
|
||||||
['hwi', 'hwi-qt']
|
|
||||||
install_requires = \
|
|
||||||
-['ecdsa>=0.13.0,<0.14.0',
|
|
||||||
- 'hidapi>=0.7.99,<0.8.0',
|
|
||||||
+['ecdsa',
|
|
||||||
+ 'hidapi',
|
|
||||||
'libusb1>=1.7,<2.0',
|
|
||||||
+ 'mnemonic',
|
|
||||||
- 'mnemonic>=0.18.0,<0.19.0',
|
|
||||||
'pyaes>=1.6,<2.0',
|
|
||||||
'typing-extensions>=3.7,<4.0']
|
|
||||||
|
|
@ -20,6 +20,9 @@ buildPythonPackage rec {
|
|||||||
keepkey libagent setuptools wheel
|
keepkey libagent setuptools wheel
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsChecks = [ "keepkey_agent" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Using KeepKey as hardware-based SSH/PGP agent";
|
description = "Using KeepKey as hardware-based SSH/PGP agent";
|
||||||
homepage = "https://github.com/romanz/trezor-agent";
|
homepage = "https://github.com/romanz/trezor-agent";
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
, ndjson
|
, ndjson
|
||||||
, backoff
|
, backoff
|
||||||
, google-api-core
|
, google-api-core
|
||||||
|
, backports-datetime-fromisoformat
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -22,12 +23,11 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
jinja2 requests pillow rasterio shapely ndjson backoff
|
jinja2 requests pillow rasterio shapely ndjson backoff
|
||||||
google-api-core
|
google-api-core backports-datetime-fromisoformat
|
||||||
];
|
];
|
||||||
|
|
||||||
# Test cases are not running on pypi or GitHub
|
# Test cases are not running on pypi or GitHub
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "labelbox" ];
|
pythonImportsCheck = [ "labelbox" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -20,6 +20,9 @@ buildPythonPackage rec {
|
|||||||
ledgerblue libagent setuptools wheel
|
ledgerblue libagent setuptools wheel
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Using Ledger as hardware-based SSH/PGP agent";
|
description = "Using Ledger as hardware-based SSH/PGP agent";
|
||||||
homepage = "https://github.com/romanz/trezor-agent";
|
homepage = "https://github.com/romanz/trezor-agent";
|
||||||
|
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# does not contain tests
|
# does not contain tests
|
||||||
disableCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "liquidctl" ];
|
pythonImportsCheck = [ "liquidctl" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
26
pkgs/development/python-modules/noiseprotocol/default.nix
Normal file
26
pkgs/development/python-modules/noiseprotocol/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchFromGitHub, cryptography, pytestCheckHook }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "noiseprotocol";
|
||||||
|
version = "0.3.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "plizonczyk";
|
||||||
|
repo = "noiseprotocol";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1mk0rqpjifdv3v1cjwkdnjbrfmzzjm9f3qqs1r8vii4j2wvhm6am";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cryptography ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "noise" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Noise Protocol Framework";
|
||||||
|
homepage = "https://github.com/plizonczyk/noiseprotocol/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -4,8 +4,9 @@
|
|||||||
, databases
|
, databases
|
||||||
, typesystem
|
, typesystem
|
||||||
, aiosqlite
|
, aiosqlite
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytestcov
|
, pytestcov
|
||||||
|
, typing-extensions
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -26,13 +27,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
aiosqlite
|
aiosqlite
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytestcov
|
pytestcov
|
||||||
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [ "orm" ];
|
||||||
PYTHONPATH=$PYTHONPATH:. pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An async ORM";
|
description = "An async ORM";
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib, isPy3k, fetchFromGitHub, buildPythonPackage
|
{ lib, isPy3k, fetchFromGitHub, buildPythonPackage
|
||||||
, six, enum34, pyasn1, cryptography, singledispatch
|
, six, enum34, pyasn1, cryptography, singledispatch
|
||||||
, fetchPypi
|
, fetchPypi, pytestCheckHook }:
|
||||||
, gpgme, flake8, pytest, pytestcov, pep8-naming, pytest-ordering }:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pgpy";
|
pname = "pgpy";
|
||||||
@ -22,17 +21,10 @@ buildPythonPackage rec {
|
|||||||
] ++ lib.optional (!isPy3k) enum34;
|
] ++ lib.optional (!isPy3k) enum34;
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
gpgme
|
pytestCheckHook
|
||||||
flake8
|
|
||||||
pytest
|
|
||||||
pytestcov
|
|
||||||
pep8-naming
|
|
||||||
pytest-ordering
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
disabledTests = [ "test_sign_string" "test_verify_string" ];
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/SecurityInnovation/PGPy";
|
homepage = "https://github.com/SecurityInnovation/PGPy";
|
||||||
|
@ -46,6 +46,8 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A python client library for the Apple TV";
|
description = "A python client library for the Apple TV";
|
||||||
homepage = "https://github.com/postlund/pyatv";
|
homepage = "https://github.com/postlund/pyatv";
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
{ stdenv, fetchurl, python, buildPythonPackage, pkgconfig, glib, isPy3k }:
|
{ stdenv, fetchurl, python, buildPythonPackage, pkgconfig, glib, isPy3k, pythonAtLeast }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pygobject";
|
pname = "pygobject";
|
||||||
version = "2.28.7";
|
version = "2.28.7";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
disabled = pythonAtLeast "3.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/pygobject/2.28/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/pygobject/2.28/${pname}-${version}.tar.xz";
|
||||||
|
26
pkgs/development/python-modules/pytest-snapshot/default.nix
Normal file
26
pkgs/development/python-modules/pytest-snapshot/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, packaging, pytest, setuptools-scm }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-snapshot";
|
||||||
|
version = "0.4.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1p33fcplfykwf5mdwg25n8hjgzxpx8w1iprjnfzibpxclfrxmy5i";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ packaging pytest ];
|
||||||
|
|
||||||
|
# pypi does not contain tests and GitHub archive is not supported because setuptools-scm can't detect the version
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "pytest_snapshot" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A plugin to enable snapshot testing with pytest";
|
||||||
|
homepage = "https://github.com/joseph-roitman/pytest-snapshot/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,5 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi,
|
{ stdenv, buildPythonPackage, fetchPypi, idna, pytestCheckHook }:
|
||||||
pytest }:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rfc3986";
|
pname = "rfc3986";
|
||||||
@ -10,14 +9,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "17dvx15m3r49bmif5zlli8kzjd6bys6psixzbp14sd5367d9h8qi";
|
sha256 = "17dvx15m3r49bmif5zlli8kzjd6bys6psixzbp14sd5367d9h8qi";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
propagatedBuildInputs = [ idna ];
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
checkInputs = [ pytestCheckHook ];
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
description = "Validating URI References per RFC 3986";
|
||||||
homepage = "https://rfc3986.readthedocs.org";
|
homepage = "https://rfc3986.readthedocs.org";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
description = "Validating URI References per RFC 3986";
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, python
|
, python
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
@ -20,30 +21,37 @@
|
|||||||
, cffi
|
, cffi
|
||||||
, tzlocal
|
, tzlocal
|
||||||
, simplegeneric
|
, simplegeneric
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, extraRPackages ? []
|
, extraRPackages ? []
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "3.3.6";
|
version = "3.4.1";
|
||||||
pname = "rpy2";
|
pname = "rpy2";
|
||||||
|
|
||||||
disabled = isPyPy;
|
disabled = isPyPy;
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version pname;
|
inherit version pname;
|
||||||
sha256 = "0xvfkxvh01r5ibd5mpisp8bz385hgpn27b988y8v65z7hqr3y1nf";
|
sha256 = "1qnjjlgh6i31z45jykwd29n1336gq678fn9zw7gh0rv5d6sn0hv4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# R_LIBS_SITE is used by the nix r package to point to the installed R libraries.
|
||||||
|
# This patch sets R_LIBS_SITE when rpy2 is imported.
|
||||||
|
./rpy2-3.x-r-libs-site.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace 'rpy2/rinterface_lib/embedded.py' --replace '@NIX_R_LIBS_SITE@' "$R_LIBS_SITE"
|
||||||
|
substituteInPlace 'requirements.txt' --replace 'pytest' ""
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
R
|
|
||||||
pcre
|
pcre
|
||||||
lzma
|
lzma
|
||||||
bzip2
|
bzip2
|
||||||
zlib
|
zlib
|
||||||
icu
|
icu
|
||||||
|
|
||||||
# is in the upstream `requires` although it shouldn't be -- this is easier than patching it away
|
|
||||||
pytest
|
|
||||||
] ++ (with rPackages; [
|
] ++ (with rPackages; [
|
||||||
# packages expected by the test framework
|
# packages expected by the test framework
|
||||||
ggplot2
|
ggplot2
|
||||||
@ -58,23 +66,10 @@ buildPythonPackage rec {
|
|||||||
tidyr
|
tidyr
|
||||||
]) ++ extraRPackages ++ rWrapper.recommendedPackages;
|
]) ++ extraRPackages ++ rWrapper.recommendedPackages;
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
R # needed at setup time to detect R_HOME (alternatively set R_HOME explicitly)
|
R # needed at setup time to detect R_HOME (alternatively set R_HOME explicitly)
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# R_LIBS_SITE is used by the nix r package to point to the installed R libraries.
|
|
||||||
# This patch sets R_LIBS_SITE when rpy2 is imported.
|
|
||||||
./rpy2-3.x-r-libs-site.patch
|
|
||||||
];
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace 'rpy2/rinterface_lib/embedded.py' --replace '@NIX_R_LIBS_SITE@' "$R_LIBS_SITE"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ipython
|
ipython
|
||||||
jinja2
|
jinja2
|
||||||
@ -86,8 +81,10 @@ buildPythonPackage rec {
|
|||||||
simplegeneric
|
simplegeneric
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -20,6 +20,8 @@ buildPythonPackage rec {
|
|||||||
# The tests use salmon executable installed by salmon itself so we need to add
|
# The tests use salmon executable installed by salmon itself so we need to add
|
||||||
# that to PATH
|
# that to PATH
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
# tests fail and pytest is not supported
|
||||||
|
rm tests/server_tests.py
|
||||||
PATH=$out/bin:$PATH python setup.py test
|
PATH=$out/bin:$PATH python setup.py test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, pytest, sanic }:
|
{ lib, buildPythonPackage, fetchPypi, sanic }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Sanic-Auth";
|
pname = "Sanic-Auth";
|
||||||
@ -11,11 +11,10 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ sanic ];
|
propagatedBuildInputs = [ sanic ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
# all tests fail
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [ "sanic_auth" ];
|
||||||
pytest tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple Authentication for Sanic";
|
description = "Simple Authentication for Sanic";
|
||||||
|
@ -36,6 +36,8 @@ buildPythonPackage rec {
|
|||||||
"test_zero_downtime" # No "examples.delayed_response.app" module in pypi distribution.
|
"test_zero_downtime" # No "examples.delayed_response.app" module in pypi distribution.
|
||||||
];
|
];
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A microframework based on uvloop, httptools, and learnings of flask";
|
description = "A microframework based on uvloop, httptools, and learnings of flask";
|
||||||
homepage = "http://github.com/channelcat/sanic/";
|
homepage = "http://github.com/channelcat/sanic/";
|
||||||
|
@ -42,12 +42,6 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ urllib3 certifi ];
|
propagatedBuildInputs = [ urllib3 certifi ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = "https://github.com/getsentry/sentry-python";
|
|
||||||
description = "New Python SDK for Sentry.io";
|
|
||||||
license = licenses.bsd2;
|
|
||||||
maintainers = with maintainers; [ gebner ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# The Sentry tests need access to `/etc/protocols` (the tests call
|
# The Sentry tests need access to `/etc/protocols` (the tests call
|
||||||
# `socket.getprotobyname('tcp')`, which reads from this file). Normally
|
# `socket.getprotobyname('tcp')`, which reads from this file). Normally
|
||||||
@ -57,5 +51,17 @@ buildPythonPackage rec {
|
|||||||
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols
|
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols
|
||||||
export LD_PRELOAD=${libredirect}/lib/libredirect.so
|
export LD_PRELOAD=${libredirect}/lib/libredirect.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postCheck = "unset NIX_REDIRECTS LD_PRELOAD";
|
postCheck = "unset NIX_REDIRECTS LD_PRELOAD";
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "sentry_sdk" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/getsentry/sentry-python";
|
||||||
|
description = "New Python SDK for Sentry.io";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ gebner ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -42,5 +42,6 @@ buildPythonPackage rec {
|
|||||||
homepage = "https://github.com/bivab/smbus-cffi";
|
homepage = "https://github.com/bivab/smbus-cffi";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ mic92 ];
|
maintainers = with maintainers; [ mic92 ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
33
pkgs/development/python-modules/snapshottest/default.nix
Normal file
33
pkgs/development/python-modules/snapshottest/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, fastdiff
|
||||||
|
, six
|
||||||
|
, termcolor
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-cov
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "snapshottest";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0g35ggqw4jd9zmazw55kj6gfjdghv49qx4jw5q231qyqj8fzijmv";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ fastdiff six termcolor ];
|
||||||
|
|
||||||
|
checkInputs = [ django pytestCheckHook pytest-cov ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "snapshottest" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Snapshot testing for pytest, unittest, Django, and Nose";
|
||||||
|
homepage = "https://github.com/syrusakbary/snapshottest";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -2,25 +2,26 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, isPy27
|
||||||
, aiofiles
|
, aiofiles
|
||||||
, graphene
|
, graphene
|
||||||
, itsdangerous
|
, itsdangerous
|
||||||
, jinja2
|
, jinja2
|
||||||
|
, python-multipart
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, requests
|
, requests
|
||||||
, ujson
|
, ujson
|
||||||
, python-multipart
|
|
||||||
, pytest
|
|
||||||
, uvicorn
|
|
||||||
, isPy27
|
|
||||||
, darwin
|
|
||||||
, databases
|
|
||||||
, aiosqlite
|
, aiosqlite
|
||||||
|
, databases
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestcov
|
||||||
|
, typing-extensions
|
||||||
|
, ApplicationServices
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "starlette";
|
pname = "starlette";
|
||||||
|
|
||||||
version = "0.13.8";
|
version = "0.13.8";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
@ -36,22 +37,21 @@ buildPythonPackage rec {
|
|||||||
graphene
|
graphene
|
||||||
itsdangerous
|
itsdangerous
|
||||||
jinja2
|
jinja2
|
||||||
|
python-multipart
|
||||||
pyyaml
|
pyyaml
|
||||||
requests
|
requests
|
||||||
ujson
|
ujson
|
||||||
uvicorn
|
] ++ lib.optional stdenv.isDarwin [ ApplicationServices ];
|
||||||
python-multipart
|
|
||||||
databases
|
|
||||||
] ++ stdenv.lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.ApplicationServices ];
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
|
||||||
aiosqlite
|
aiosqlite
|
||||||
|
databases
|
||||||
|
pytestCheckHook
|
||||||
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
pytestFlagsArray = [ "--ignore=tests/test_graphql.py" ];
|
||||||
pytest --ignore=tests/test_graphql.py
|
|
||||||
'';
|
|
||||||
pythonImportsCheck = [ "starlette" ];
|
pythonImportsCheck = [ "starlette" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -24,6 +24,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ setuptools trezor libagent ecdsa ed25519 mnemonic keepkey semver wheel pinentry ];
|
propagatedBuildInputs = [ setuptools trezor libagent ecdsa ed25519 mnemonic keepkey semver wheel pinentry ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "libagent" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Using Trezor as hardware SSH agent";
|
description = "Using Trezor as hardware SSH agent";
|
||||||
homepage = "https://github.com/romanz/trezor-agent";
|
homepage = "https://github.com/romanz/trezor-agent";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, isPy27
|
, isPy27
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, jinja2
|
, jinja2
|
||||||
, pyyaml
|
, pyyaml
|
||||||
@ -26,14 +26,11 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytestcov
|
pytestcov
|
||||||
];
|
];
|
||||||
|
|
||||||
# for some reason jinja2 not picking up forms directory (1% of tests)
|
disabledTests = [ "test_to_json_schema_complex_regular_expression" ];
|
||||||
checkPhase = ''
|
|
||||||
pytest --ignore=tests/test_forms.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A type system library for Python";
|
description = "A type system library for Python";
|
||||||
|
73
pkgs/development/python-modules/wasmer/default.nix
Normal file
73
pkgs/development/python-modules/wasmer/default.nix
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, maturin
|
||||||
|
, buildPythonPackage
|
||||||
|
, isPy38
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
pname = "wasmer";
|
||||||
|
version = "1.0.0-beta1";
|
||||||
|
|
||||||
|
wheel = rustPlatform.buildRustPackage rec {
|
||||||
|
name = "${pname}-${version}-py${python.version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "wasmerio";
|
||||||
|
repo = "wasmer-python";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0302lcfjlw7nz18nf86z6swhhpp1qnpwcsm2fj4avl22rsv0h78j";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "0d83dniijjq8rc4fcwj6ja5x4hxh187afnqfd8c9fzb8nx909a0v";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ maturin python ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
cd packages/api
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
maturin build --release --manylinux off --strip
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
cd ../..
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
install -Dm644 -t $out target/wheels/*.whl
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
|
buildPythonPackage rec {
|
||||||
|
inherit pname version;
|
||||||
|
# we can only support one python version because the cargo hash changes with the python version
|
||||||
|
disabled = !isPy38;
|
||||||
|
|
||||||
|
format = "wheel";
|
||||||
|
src = wheel;
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
mkdir -p dist
|
||||||
|
cp $src/*.whl dist
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "wasmer" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python extension to run WebAssembly binaries";
|
||||||
|
homepage = "https://github.com/wasmerio/wasmer-python";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, ifaddr
|
, ifaddr
|
||||||
@ -29,7 +30,10 @@ buildPythonPackage rec {
|
|||||||
"test_launch_and_close_v4_v6"
|
"test_launch_and_close_v4_v6"
|
||||||
"test_launch_and_close_v6_only"
|
"test_launch_and_close_v6_only"
|
||||||
"test_integration_with_listener_ipv6"
|
"test_integration_with_listener_ipv6"
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
"test_lots_of_names"
|
||||||
];
|
];
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
pythonImportsCheck = [ "zeroconf" ];
|
pythonImportsCheck = [ "zeroconf" ];
|
||||||
|
|
||||||
|
@ -380,6 +380,7 @@ let
|
|||||||
rmutil = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
rmutil = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
||||||
robustbase = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
robustbase = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
||||||
SparseM = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
SparseM = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
||||||
|
hexbin = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
||||||
svKomodo = [ pkgs.which ];
|
svKomodo = [ pkgs.which ];
|
||||||
nat = [ pkgs.which ];
|
nat = [ pkgs.which ];
|
||||||
nat_templatebrains = [ pkgs.which ];
|
nat_templatebrains = [ pkgs.which ];
|
||||||
|
@ -21,10 +21,12 @@ buildPythonApplication {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ libusb1 ];
|
buildInputs = [ libusb1 ];
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs = [ psutil python3Packages.libusb1 ]
|
||||||
[ psutil python3Packages.libusb1 ]
|
|
||||||
++ lib.optionals GyroplotSupport [ pyqtgraph pyside ];
|
++ lib.optionals GyroplotSupport [ pyqtgraph pyside ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "steamcontroller" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A standalone Steam controller driver";
|
description = "A standalone Steam controller driver";
|
||||||
homepage = "https://github.com/ynsta/steamcontroller";
|
homepage = "https://github.com/ynsta/steamcontroller";
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
{ stdenv, fetchFromGitHub, python3Packages }:
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
||||||
|
|
||||||
let
|
python3Packages.buildPythonPackage rec {
|
||||||
pythonPackages = python3Packages;
|
|
||||||
|
|
||||||
in pythonPackages.buildPythonPackage rec {
|
|
||||||
name = "${pname}-0.1.0";
|
|
||||||
pname = "evdevremapkeys";
|
pname = "evdevremapkeys";
|
||||||
|
version = "0.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "philipl";
|
owner = "philipl";
|
||||||
@ -14,13 +11,18 @@ in pythonPackages.buildPythonPackage rec {
|
|||||||
sha256 = "0c9slflakm5jqd8s1zpxm7gmrrk0335m040d7m70hnsak42jvs2f";
|
sha256 = "0c9slflakm5jqd8s1zpxm7gmrrk0335m040d7m70hnsak42jvs2f";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
pyyaml
|
pyyaml
|
||||||
pyxdg
|
pyxdg
|
||||||
python-daemon
|
python-daemon
|
||||||
evdev
|
evdev
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# hase no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "evdevremapkeys" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/philipl/evdevremapkeys";
|
homepage = "https://github.com/philipl/evdevremapkeys";
|
||||||
description = "Daemon to remap events on linux input devices";
|
description = "Daemon to remap events on linux input devices";
|
||||||
|
@ -782,6 +782,8 @@ in {
|
|||||||
|
|
||||||
backports_csv = callPackage ../development/python-modules/backports_csv { };
|
backports_csv = callPackage ../development/python-modules/backports_csv { };
|
||||||
|
|
||||||
|
backports-datetime-fromisoformat = callPackage ../development/python-modules/backports-datetime-fromisoformat { };
|
||||||
|
|
||||||
backports_functools_lru_cache = callPackage ../development/python-modules/backports_functools_lru_cache { };
|
backports_functools_lru_cache = callPackage ../development/python-modules/backports_functools_lru_cache { };
|
||||||
|
|
||||||
backports_lzma = callPackage ../development/python-modules/backports_lzma { };
|
backports_lzma = callPackage ../development/python-modules/backports_lzma { };
|
||||||
@ -892,6 +894,8 @@ in {
|
|||||||
|
|
||||||
bitarray = callPackage ../development/python-modules/bitarray { };
|
bitarray = callPackage ../development/python-modules/bitarray { };
|
||||||
|
|
||||||
|
bitbox02 = callPackage ../development/python-modules/bitbox02 { };
|
||||||
|
|
||||||
bitbucket_api = callPackage ../development/python-modules/bitbucket-api { };
|
bitbucket_api = callPackage ../development/python-modules/bitbucket-api { };
|
||||||
|
|
||||||
bitbucket-cli = callPackage ../development/python-modules/bitbucket-cli { };
|
bitbucket-cli = callPackage ../development/python-modules/bitbucket-cli { };
|
||||||
@ -2069,6 +2073,8 @@ in {
|
|||||||
|
|
||||||
fastcache = callPackage ../development/python-modules/fastcache { };
|
fastcache = callPackage ../development/python-modules/fastcache { };
|
||||||
|
|
||||||
|
fastdiff = callPackage ../development/python-modules/fastdiff { };
|
||||||
|
|
||||||
fastdtw = callPackage ../development/python-modules/fastdtw { };
|
fastdtw = callPackage ../development/python-modules/fastdtw { };
|
||||||
|
|
||||||
fastecdsa = callPackage ../development/python-modules/fastecdsa { };
|
fastecdsa = callPackage ../development/python-modules/fastecdsa { };
|
||||||
@ -2665,8 +2671,12 @@ in {
|
|||||||
|
|
||||||
graph_nets = callPackage ../development/python-modules/graph_nets { };
|
graph_nets = callPackage ../development/python-modules/graph_nets { };
|
||||||
|
|
||||||
|
graphene = callPackage ../development/python-modules/graphene { };
|
||||||
|
|
||||||
graphql-core = callPackage ../development/python-modules/graphql-core { };
|
graphql-core = callPackage ../development/python-modules/graphql-core { };
|
||||||
|
|
||||||
|
graphql-relay = callPackage ../development/python-modules/graphql-relay { };
|
||||||
|
|
||||||
graphql-server-core = callPackage ../development/python-modules/graphql-server-core { };
|
graphql-server-core = callPackage ../development/python-modules/graphql-server-core { };
|
||||||
|
|
||||||
graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix { inherit (pkgs) pkg-config; };
|
graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix { inherit (pkgs) pkg-config; };
|
||||||
@ -4245,6 +4255,8 @@ in {
|
|||||||
|
|
||||||
noise = callPackage ../development/python-modules/noise { };
|
noise = callPackage ../development/python-modules/noise { };
|
||||||
|
|
||||||
|
noiseprotocol = callPackage ../development/python-modules/noiseprotocol { };
|
||||||
|
|
||||||
nose2 = callPackage ../development/python-modules/nose2 { };
|
nose2 = callPackage ../development/python-modules/nose2 { };
|
||||||
|
|
||||||
nose = callPackage ../development/python-modules/nose { };
|
nose = callPackage ../development/python-modules/nose { };
|
||||||
@ -5498,6 +5510,8 @@ in {
|
|||||||
|
|
||||||
pyopengl = callPackage ../development/python-modules/pyopengl { };
|
pyopengl = callPackage ../development/python-modules/pyopengl { };
|
||||||
|
|
||||||
|
pyopengl-accelerate = callPackage ../development/python-modules/pyopengl-accelerate { };
|
||||||
|
|
||||||
pyopenssl = callPackage ../development/python-modules/pyopenssl { };
|
pyopenssl = callPackage ../development/python-modules/pyopenssl { };
|
||||||
|
|
||||||
pyosf = callPackage ../development/python-modules/pyosf { };
|
pyosf = callPackage ../development/python-modules/pyosf { };
|
||||||
@ -5826,6 +5840,7 @@ in {
|
|||||||
|
|
||||||
pytest-black = callPackage ../development/python-modules/pytest-black { };
|
pytest-black = callPackage ../development/python-modules/pytest-black { };
|
||||||
|
|
||||||
|
pytest-cache = self.pytestcache; # added 2021-01-04
|
||||||
pytestcache = callPackage ../development/python-modules/pytestcache { };
|
pytestcache = callPackage ../development/python-modules/pytestcache { };
|
||||||
|
|
||||||
pytest-catchlog = callPackage ../development/python-modules/pytest-catchlog { };
|
pytest-catchlog = callPackage ../development/python-modules/pytest-catchlog { };
|
||||||
@ -5836,6 +5851,7 @@ in {
|
|||||||
|
|
||||||
pytest-click = callPackage ../development/python-modules/pytest-click { };
|
pytest-click = callPackage ../development/python-modules/pytest-click { };
|
||||||
|
|
||||||
|
pytest-cov = self.pytestcov; # self 2021-01-04
|
||||||
pytestcov = callPackage ../development/python-modules/pytest-cov { };
|
pytestcov = callPackage ../development/python-modules/pytest-cov { };
|
||||||
|
|
||||||
pytest-cram = callPackage ../development/python-modules/pytest-cram { };
|
pytest-cram = callPackage ../development/python-modules/pytest-cram { };
|
||||||
@ -5872,8 +5888,6 @@ in {
|
|||||||
|
|
||||||
pytest-helpers-namespace = callPackage ../development/python-modules/pytest-helpers-namespace { };
|
pytest-helpers-namespace = callPackage ../development/python-modules/pytest-helpers-namespace { };
|
||||||
|
|
||||||
pyopengl-accelerate = callPackage ../development/python-modules/pyopengl-accelerate { };
|
|
||||||
|
|
||||||
pytest-html = callPackage ../development/python-modules/pytest-html { };
|
pytest-html = callPackage ../development/python-modules/pytest-html { };
|
||||||
|
|
||||||
pytest-httpbin = callPackage ../development/python-modules/pytest-httpbin { };
|
pytest-httpbin = callPackage ../development/python-modules/pytest-httpbin { };
|
||||||
@ -5901,6 +5915,7 @@ in {
|
|||||||
|
|
||||||
pytest-pep257 = callPackage ../development/python-modules/pytest-pep257 { };
|
pytest-pep257 = callPackage ../development/python-modules/pytest-pep257 { };
|
||||||
|
|
||||||
|
pytest-pep8 = self.pytestpep8; # added 2021-01-04
|
||||||
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
|
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
|
||||||
|
|
||||||
pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };
|
pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };
|
||||||
@ -5909,6 +5924,7 @@ in {
|
|||||||
|
|
||||||
pytest-qt = callPackage ../development/python-modules/pytest-qt { };
|
pytest-qt = callPackage ../development/python-modules/pytest-qt { };
|
||||||
|
|
||||||
|
pytest-quickcheck = self.pytestquickcheck;
|
||||||
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
|
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
|
||||||
|
|
||||||
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
|
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
|
||||||
@ -5925,6 +5941,7 @@ in {
|
|||||||
|
|
||||||
pytest-rerunfailures = callPackage ../development/python-modules/pytest-rerunfailures { };
|
pytest-rerunfailures = callPackage ../development/python-modules/pytest-rerunfailures { };
|
||||||
|
|
||||||
|
pytest-runner = self.pytestrunner; # added 2021-01-04
|
||||||
pytestrunner = callPackage ../development/python-modules/pytestrunner { };
|
pytestrunner = callPackage ../development/python-modules/pytestrunner { };
|
||||||
|
|
||||||
pytest-sanic = callPackage ../development/python-modules/pytest-sanic { };
|
pytest-sanic = callPackage ../development/python-modules/pytest-sanic { };
|
||||||
@ -5933,6 +5950,8 @@ in {
|
|||||||
|
|
||||||
pytest-services = callPackage ../development/python-modules/pytest-services { };
|
pytest-services = callPackage ../development/python-modules/pytest-services { };
|
||||||
|
|
||||||
|
pytest-snapshot = callPackage ../development/python-modules/pytest-snapshot { };
|
||||||
|
|
||||||
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
|
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
|
||||||
|
|
||||||
pytest-socket = callPackage ../development/python-modules/pytest-socket { };
|
pytest-socket = callPackage ../development/python-modules/pytest-socket { };
|
||||||
@ -5961,6 +5980,7 @@ in {
|
|||||||
|
|
||||||
pytest-watch = callPackage ../development/python-modules/pytest-watch { };
|
pytest-watch = callPackage ../development/python-modules/pytest-watch { };
|
||||||
|
|
||||||
|
pytest-xdist = self.pytest_xdist; # added 2021-01-04
|
||||||
pytest_xdist = if isPy27 then
|
pytest_xdist = if isPy27 then
|
||||||
callPackage ../development/python-modules/pytest-xdist/1.nix { }
|
callPackage ../development/python-modules/pytest-xdist/1.nix { }
|
||||||
else
|
else
|
||||||
@ -6829,6 +6849,7 @@ in {
|
|||||||
|
|
||||||
setuptools-rust = callPackage ../development/python-modules/setuptools-rust { };
|
setuptools-rust = callPackage ../development/python-modules/setuptools-rust { };
|
||||||
|
|
||||||
|
setuptools-scm = self.setuptools_scm; # added 2021-01-04
|
||||||
setuptools_scm = callPackage ../development/python-modules/setuptools_scm { };
|
setuptools_scm = callPackage ../development/python-modules/setuptools_scm { };
|
||||||
|
|
||||||
setuptools-scm-git-archive = callPackage ../development/python-modules/setuptools-scm-git-archive { };
|
setuptools-scm-git-archive = callPackage ../development/python-modules/setuptools-scm-git-archive { };
|
||||||
@ -6966,6 +6987,8 @@ in {
|
|||||||
|
|
||||||
snapperGUI = callPackage ../development/python-modules/snappergui { };
|
snapperGUI = callPackage ../development/python-modules/snappergui { };
|
||||||
|
|
||||||
|
snapshottest = callPackage ../development/python-modules/snapshottest { };
|
||||||
|
|
||||||
sniffio = callPackage ../development/python-modules/sniffio { };
|
sniffio = callPackage ../development/python-modules/sniffio { };
|
||||||
|
|
||||||
snitun = callPackage ../development/python-modules/snitun { };
|
snitun = callPackage ../development/python-modules/snitun { };
|
||||||
@ -7175,7 +7198,9 @@ in {
|
|||||||
|
|
||||||
stack-data = callPackage ../development/python-modules/stack-data { };
|
stack-data = callPackage ../development/python-modules/stack-data { };
|
||||||
|
|
||||||
starlette = callPackage ../development/python-modules/starlette { };
|
starlette = callPackage ../development/python-modules/starlette {
|
||||||
|
inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices;
|
||||||
|
};
|
||||||
|
|
||||||
staticjinja = callPackage ../development/python-modules/staticjinja { };
|
staticjinja = callPackage ../development/python-modules/staticjinja { };
|
||||||
|
|
||||||
@ -7887,6 +7912,8 @@ in {
|
|||||||
|
|
||||||
wasabi = callPackage ../development/python-modules/wasabi { };
|
wasabi = callPackage ../development/python-modules/wasabi { };
|
||||||
|
|
||||||
|
wasmer = callPackage ../development/python-modules/wasmer { };
|
||||||
|
|
||||||
watchdog = callPackage ../development/python-modules/watchdog { };
|
watchdog = callPackage ../development/python-modules/watchdog { };
|
||||||
|
|
||||||
WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { };
|
WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user