Merge pull request #217217 from mweinelt/normalize-python-attrs

python310Packages: Normalize attribute names, pnames, dirnames
This commit is contained in:
Martin Weinelt 2023-02-19 23:40:57 +00:00 committed by GitHub
commit 64704a961f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
128 changed files with 302 additions and 264 deletions

View File

@ -43,7 +43,7 @@ python3Packages.buildPythonApplication {
notify2
pyroute2
pygobject3
PyChromecast
pychromecast
lxml
setuptools
zeroconf

View File

@ -70,7 +70,7 @@ python3Packages.buildPythonApplication rec {
requests
semver
]
++ lib.optional chromecastSupport PyChromecast
++ lib.optional chromecastSupport pychromecast
++ lib.optional keyringSupport keyring
++ lib.optional serverSupport bottle
;

View File

@ -97,7 +97,7 @@ stdenv.mkDerivation rec {
plexapi
pulsectl
pycairo
PyChromecast
pychromecast
pylast
pygobject3
pylyrics

View File

@ -18,7 +18,7 @@
, zlib
}:
let
py3 = python3.withPackages (p: [ p.Mako ]);
py3 = python3.withPackages (p: [ p.mako ]);
in
stdenv.mkDerivation rec {
pname = "clightning";

View File

@ -130,7 +130,7 @@ in python.pkgs.buildPythonApplication rec {
vobject
werkzeug
xlrd
XlsxWriter
xlsxwriter
xlwt
zeep
];

View File

@ -22,7 +22,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [
cadquery
Logbook
logbook
pyqt5
pyparsing
pyqtgraph

View File

@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
wrapQtAppsHook
python3Packages.setuptools
python3Packages.rfc3987
python3Packages.JPype1
python3Packages.jpype1
python3Packages.pyqt5
];

View File

@ -13,7 +13,7 @@
, pango
, gst-python
, kiss-headers
, Logbook
, logbook
, pillow
, poetry-core
, pygobject3
@ -47,7 +47,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [
gst-python
kiss-headers
Logbook
logbook
pillow
poetry-core
pygobject3

View File

@ -4,7 +4,7 @@
# python deps
, python, buildPythonPackage
, alembic, beautifulsoup4, chardet, lxml, Mako, pyenchant
, alembic, beautifulsoup4, chardet, lxml, mako, pyenchant
, pyqt5_with_qtwebkit, pyxdg, sip_4, sqlalchemy, sqlalchemy-migrate
}:
@ -37,7 +37,7 @@ buildPythonPackage rec {
beautifulsoup4
chardet
lxml
Mako
mako
pyenchant
pyqt5_with_qtwebkit
pyxdg

View File

@ -106,7 +106,7 @@ let
# Now requires `lingua` as check input that requires a newer `click`,
# however `click-7` is needed by the older flask we need here. Since it's just
# for the test-suite apparently, let's skip it for now.
Mako = super.Mako.overridePythonAttrs (lib.const {
mako = super.mako.overridePythonAttrs (lib.const {
nativeCheckInputs = [];
doCheck = false;
});

View File

@ -30,7 +30,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [
# See https://github.com/Flexget/Flexget/blob/master/requirements.txt
APScheduler
apscheduler
beautifulsoup4
click
colorama
@ -44,7 +44,7 @@ python3Packages.buildPythonApplication rec {
packaging
psutil
pynzb
PyRSS2Gen
pyrss2gen
python-dateutil
pyyaml
rebulk

View File

@ -1,5 +1,5 @@
{ lib, stdenv, buildPythonApplication, fetchFromGitHub, pythonOlder,
attrs, aiohttp, appdirs, click, keyring, Logbook, peewee, janus,
attrs, aiohttp, appdirs, click, keyring, logbook, peewee, janus,
prompt-toolkit, matrix-nio, dbus-python, pydbus, notify2, pygobject3,
setuptools, installShellFiles, nixosTests,
@ -29,7 +29,7 @@ buildPythonApplication rec {
click
janus
keyring
Logbook
logbook
matrix-nio
peewee
prompt-toolkit

View File

@ -8,7 +8,7 @@
, future
, atomicwrites
, attrs
, Logbook
, logbook
, pygments
, matrix-nio
, aiohttp
@ -45,7 +45,7 @@ in buildPythonPackage {
future
atomicwrites
attrs
Logbook
logbook
pygments
matrix-nio
aiohttp

View File

@ -39,7 +39,7 @@ python3Packages.buildPythonApplication rec {
};
propagatedBuildInputs = with python3Packages; ([
PyChromecast
pychromecast
psutil
mutagen
flask

View File

@ -27,7 +27,7 @@ let
propagatedBuildInputs = with pypkgs; [
twisted
Mako
mako
chardet
pyxdg
pyopenssl

View File

@ -40,7 +40,7 @@ python3Packages.buildPythonApplication rec {
ipy
pyperclip
] ++
lib.optional useGeoIP GeoIP;
lib.optional useGeoIP geoip;
dontBuild = true;
doCheck = false;

View File

@ -41,7 +41,7 @@ gnuradio.pkgs.mkDerivation rec {
cmake
pkg-config
gnuradio.unwrapped.python
gnuradio.unwrapped.python.pkgs.Mako
gnuradio.unwrapped.python.pkgs.mako
gnuradio.unwrapped.python.pkgs.six
];
nativeCheckInputs = [

View File

@ -67,7 +67,7 @@ let
# building with boost 1.7x fails
++ lib.optionals (!(hasFeature "gr-qtgui")) [ icu ];
pythonNative = with python.pkgs; [
Mako
mako
six
];
};
@ -118,7 +118,7 @@ let
gnuradio-companion = {
pythonRuntime = with python.pkgs; [
pyyaml
Mako
mako
numpy
pygobject3
];

View File

@ -71,7 +71,7 @@ let
# building with boost 1.7x fails
++ lib.optionals (!(hasFeature "gr-qtgui")) [ icu ];
pythonNative = with python.pkgs; [
Mako
mako
six
];
};
@ -118,7 +118,7 @@ let
gnuradio-companion = {
pythonRuntime = with python.pkgs; [
pyyaml
Mako
mako
numpy
pygobject3
];

View File

@ -73,7 +73,7 @@ let
# building with boost 1.7x fails
++ lib.optionals (!(hasFeature "gr-qtgui")) [ icu ];
pythonNative = with python.pkgs; [
Mako
mako
six
];
};
@ -120,7 +120,7 @@ let
gnuradio-companion = {
pythonRuntime = with python.pkgs; [
pyyaml
Mako
mako
numpy
pygobject3
];

View File

@ -85,8 +85,8 @@ stdenv.mkDerivation rec {
++ [ (lib.optionalString stdenv.isAarch32 "-DCMAKE_CXX_FLAGS=-Wno-psabi") ]
;
# Python + Mako are always required for the build itself but not necessary for runtime.
pythonEnv = python3.withPackages (ps: with ps; [ Mako ]
# Python + mako are always required for the build itself but not necessary for runtime.
pythonEnv = python3.withPackages (ps: with ps; [ mako ]
++ optionals (enableLibuhd_Python_api) [ numpy setuptools ]
++ optionals (enableUtils) [ requests six ]
);

View File

@ -83,8 +83,8 @@ stdenv.mkDerivation rec {
++ [ (lib.optionalString stdenv.isAarch32 "-DCMAKE_CXX_FLAGS=-Wno-psabi") ]
;
# Python + Mako are always required for the build itself but not necessary for runtime.
pythonEnv = python3.withPackages (ps: with ps; [ Mako ]
# Python + mako are always required for the build itself but not necessary for runtime.
pythonEnv = python3.withPackages (ps: with ps; [ mako ]
++ optionals (enablePythonApi) [ numpy setuptools ]
++ optionals (enableUtils) [ requests six ]
);

View File

@ -36,7 +36,7 @@ python3Packages.buildPythonApplication rec {
] ++ (with python3Packages; [
biopython
psutil
XlsxWriter
xlsxwriter
]);
# Tests rely on some of the databases being available, which is not bundled

View File

@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
numpy
packaging
pyqt4
Rtree
rtree
scipy
setuptools
shapely

View File

@ -19,7 +19,7 @@
, setuptools
, textx
, xlrd
, XlsxWriter
, xlsxwriter
, pytestCheckHook
}:
@ -70,7 +70,7 @@ buildPythonApplication rec {
setuptools
textx
xlrd
XlsxWriter
xlsxwriter
];
nativeCheckInputs = [

View File

@ -25,7 +25,7 @@ let
};
});
PyChromecast = super.PyChromecast.overridePythonAttrs (oldAttrs: rec {
pychromecast = super.pychromecast.overridePythonAttrs (oldAttrs: rec {
version = "9.2.0";
src = oldAttrs.src.override {
inherit version;
@ -49,7 +49,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [
click
ifaddr
PyChromecast
pychromecast
protobuf
requests
yt-dlp

View File

@ -12,7 +12,7 @@ buildPythonApplication rec {
nativeBuildInputs = [ wrapGAppsHook ];
propagatedBuildInputs = [
PyChromecast bottle pycaption paste html5lib pygobject3 dbus-python
pychromecast bottle pycaption paste html5lib pygobject3 dbus-python
gtk3 gobject-introspection
];

View File

@ -79,7 +79,7 @@ in mkDerivation {
(if (gnuradio.versionAttr.major == "3.7") then
python.pkgs.cheetah
else
python.pkgs.Mako
python.pkgs.mako
)
python
]

View File

@ -30,7 +30,7 @@
let
pythonModules = pp: [
pp.Mako
pp.mako
pp.markdown
];
in

View File

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
meson
ninja
pkg-config
python3Packages.Mako
python3Packages.mako
];
buildInputs = [

View File

@ -227,7 +227,7 @@ self = stdenv.mkDerivation {
nativeBuildInputs = [
meson pkg-config ninja
intltool bison flex file
python3Packages.python python3Packages.Mako python3Packages.ply
python3Packages.python python3Packages.mako python3Packages.ply
jdupes glslang
] ++ lib.optional haveWayland wayland-scanner;

View File

@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
python3
python3.pkgs.Mako
python3.pkgs.mako
];
doCheck = true;

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, Mako
, mako
, python-dateutil
, sqlalchemy
, importlib-metadata
@ -24,7 +24,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
Mako
mako
python-dateutil
sqlalchemy
] ++ lib.optionals (pythonOlder "3.9") [

View File

@ -129,7 +129,7 @@
imports = [ "airflow.providers.ftp.hooks.ftp" ];
};
github = {
deps = [ "PyGithub" ];
deps = [ "pygithub" ];
imports = [ "airflow.providers.github.hooks.github" "airflow.providers.github.operators.github" ];
};
google = {
@ -157,7 +157,7 @@
imports = [ "airflow.providers.influxdb.hooks.influxdb" "airflow.providers.influxdb.operators.influxdb" ];
};
jdbc = {
deps = [ "JayDeBeApi" ];
deps = [ "jaydebeapi" ];
imports = [ "airflow.providers.jdbc.hooks.jdbc" "airflow.providers.jdbc.operators.jdbc" ];
};
jenkins = {

View File

@ -3,7 +3,7 @@
, fetchPypi
, pytestCheckHook
, pythonOlder
, APScheduler
, apscheduler
, hiredis
, aioredis
, ephem
@ -24,7 +24,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
APScheduler
apscheduler
hiredis
aioredis
ephem

View File

@ -5,7 +5,7 @@
}:
buildPythonPackage rec {
pname = "BlinkStick";
pname = "blinkstick";
version = "1.2.0";
src = fetchPypi {

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, pycryptodome
, PyGithub
, pygithub
, pythonOlder
}:

View File

@ -4,7 +4,7 @@
, pythonOlder
, cryptography
, jinja2
, Mako
, mako
, passlib
, pytest
, pyyaml
@ -31,7 +31,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
setuptools cryptography jinja2 Mako passlib pyyaml requests tomlkit librouteros
setuptools cryptography jinja2 mako passlib pyyaml requests tomlkit librouteros
] ++ lib.optionals (pythonOlder "3.11") [ rtoml ];
pythonImportsCheck = [ "bundlewrap" ];

View File

@ -11,7 +11,7 @@
, lxml
, xlwt
, xlrd
, XlsxWriter
, xlsxwriter
, pyyaml
, pytestCheckHook
}:
@ -39,7 +39,7 @@ buildPythonPackage rec {
lxml
xlwt
xlrd
XlsxWriter
xlsxwriter
pyyaml
] ++ lib.optional (pythonOlder "3.5") typing;

View File

@ -6,7 +6,7 @@
}:
buildPythonPackage rec {
pname = "ColanderAlchemy";
pname = "colanderclchemy";
version = "0.3.4";
src = fetchPypi {

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, PyGithub, python-gitlab }:
{ lib, buildPythonPackage, fetchPypi, pygithub, python-gitlab }:
buildPythonPackage rec {
pname = "criticality_score";
@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "0i811a27i87z3j1rw0dwrnw8v0ckbd918ms6shjawhs4cnb1c6x8";
};
propagatedBuildInputs = [ PyGithub python-gitlab ];
propagatedBuildInputs = [ pygithub python-gitlab ];
doCheck = false;

View File

@ -3,7 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, APScheduler
, apscheduler
, bitstring
, cffi
, ecdsa
@ -48,7 +48,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
APScheduler
apscheduler
bitstring
cffi
ecdsa

View File

@ -4,7 +4,7 @@
, pythonOlder
, pytestCheckHook
, mock
, Mako
, mako
, decorator
, stevedore
}:
@ -30,7 +30,7 @@ buildPythonPackage rec {
dontUseSetuptoolsCheck = true;
nativeCheckInputs = [ pytestCheckHook mock Mako ];
nativeCheckInputs = [ pytestCheckHook mock mako ];
propagatedBuildInputs = [ decorator stevedore ];

View File

@ -1,11 +1,12 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "EasyProcess";
pname = "easyprocess";
version = "1.1";
src = fetchPypi {
inherit pname version;
pname = "EasyProcess";
inherit version;
sha256 = "sha256-iFiYMCpXqrlIlz6LXTKkIpOSufstmGqx1P/VkOW6kOw=";
};

View File

@ -8,7 +8,7 @@
, httpx
, jinja2
, jsonschema
, Logbook
, logbook
, mock
, pytest-asyncio
, pytest-bdd
@ -57,7 +57,7 @@ buildPythonPackage rec {
httpx
jinja2
jsonschema
Logbook
logbook
mock
pytest-asyncio
pytest-bdd

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, EasyProcess
, easyprocess
, path
, pytestCheckHook
, pythonOlder
@ -20,7 +20,7 @@ buildPythonPackage rec {
};
nativeCheckInputs = [
EasyProcess
easyprocess
path
pytestCheckHook
];

View File

@ -10,13 +10,14 @@
}:
buildPythonPackage rec {
pname = "FormEncode";
pname = "formencode";
version = "2.0.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
pname = "FormEncode";
inherit version;
sha256 = "8f2974112c2557839d5bae8b76490104c03830785d923abbdef148bf3f710035";
};

View File

@ -1,17 +1,18 @@
{lib, buildPythonPackage, fetchPypi
, geoip, nose}:
, libgeoip, nose}:
buildPythonPackage rec {
pname = "GeoIP";
pname = "geoip";
version = "1.3.2";
nativeCheckInputs = [ nose ];
propagatedBuildInputs = [
geoip
libgeoip
];
src = fetchPypi {
inherit pname version;
pname = "GeoIP";
inherit version;
sha256 = "1rphxf3vrn8wywjgr397f49s0s22m83lpwcq45lm0h2p45mdm458";
};

View File

@ -8,7 +8,7 @@
, pyproj
, pytestCheckHook
, pythonOlder
, Rtree
, rtree
, shapely
}:
@ -36,7 +36,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
Rtree
rtree
];
doCheck = !stdenv.isDarwin;

View File

@ -3,7 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, PyGithub
, pygithub
, pythonOlder
}:
@ -30,7 +30,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
beautifulsoup4
matplotlib
PyGithub
pygithub
];
# Module has no tests

View File

@ -1,7 +1,7 @@
{ lib, buildPythonPackage, fetchFromGitHub, cython, numpy, pysam, matplotlib, python, isPy27, isPy3k }:
buildPythonPackage rec {
version = "0.12.4";
pname = "HTSeq";
pname = "htseq";
src = fetchFromGitHub {
owner = "htseq";

View File

@ -23,7 +23,7 @@
, idna
, itsdangerous
, jinja2
, Mako
, mako
, markupsafe
, python-dateutil
, pytz
@ -71,7 +71,7 @@ buildPythonPackage rec {
idna
itsdangerous
jinja2
Mako
mako
markupsafe
psycopg2
python-dateutil

View File

@ -1,20 +1,21 @@
{ lib
, buildPythonPackage
, fetchPypi
, JPype1
, jpype1
}:
buildPythonPackage rec {
pname = "JayDeBeApi";
pname = "jaydebeapi";
version = "1.2.3";
src = fetchPypi {
inherit pname version;
pname = "JayDeBeApi";
inherit version;
sha256 = "f25e9307fbb5960cb035394c26e37731b64cc465b197c4344cee85ec450ab92f";
};
propagatedBuildInputs = [
JPype1
jpype1
];
meta = with lib; {

View File

@ -9,12 +9,13 @@
}:
buildPythonPackage rec {
pname = "JPype1";
pname = "jpype1";
version = "1.4.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
pname = "JPype1";
inherit version;
sha256 = "sha256-3I7oVAc0dK15rhaNkML2iThU9Yk2z6GPNYfK2uDTaW0=";
};

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, PyGithub
, pygithub
, terminaltables
, click
, requests
@ -20,7 +20,7 @@ buildPythonPackage rec {
click
requests
terminaltables
PyGithub
pygithub
];
# no tests

View File

@ -6,7 +6,7 @@
, case
, fetchPypi
, importlib-metadata
, Pyro4
, pyro4
, pytestCheckHook
, pythonOlder
, pytz
@ -36,7 +36,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
azure-servicebus
case
Pyro4
pyro4
pytestCheckHook
pytz
];

View File

@ -8,7 +8,7 @@
, numpy
, six
, nose
, Mako
, mako
, cudaSupport ? false, cudaPackages
, openclSupport ? true, ocl-icd, clblas
}:
@ -59,7 +59,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
six
Mako
mako
];
nativeBuildInputs = [

View File

@ -1,11 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, pytest, mock, brotli }:
buildPythonPackage rec {
pname = "Logbook";
pname = "logbook";
version = "1.5.3";
src = fetchPypi {
inherit pname version;
pname = "Logbook";
inherit version;
sha256 = "1s1gyfw621vid7qqvhddq6c3z2895ci4lq3g0r1swvpml2nm9x36";
};

View File

@ -8,7 +8,7 @@
, namedlist
, sqlalchemy
, tornado
, Yapsy
, yapsy
, pythonAtLeast
}:
@ -26,7 +26,7 @@ buildPythonPackage rec {
sha256 = "0j4dir0dgg8pkf4d1znicz6wyyi1wzij50r21z838cycsdr54j4c";
};
propagatedBuildInputs = [ chardet dnspython html5-parser lxml namedlist sqlalchemy tornado Yapsy ];
propagatedBuildInputs = [ chardet dnspython html5-parser lxml namedlist sqlalchemy tornado yapsy ];
# Test suite has tests that fail on all platforms
doCheck = false;

View File

@ -14,7 +14,7 @@
, keyrings-alt
, packaging
, pathspec
, Pyro5
, pyro5
, requests
, rich
, setuptools
@ -50,7 +50,7 @@ buildPythonPackage rec {
keyrings-alt
packaging
pathspec
Pyro5
pyro5
requests
rich
setuptools

View File

@ -18,13 +18,14 @@
}:
buildPythonPackage rec {
pname = "Mako";
pname = "mako";
version = "1.2.4";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
pname = "Mako";
inherit version;
sha256 = "sha256-1go5A9w7sBoYrWqJzb4uTq3GnAvI7x43c7pT1Ew/ejQ=";
};

View File

@ -6,7 +6,7 @@
, gitpython
, networkx
, pydot
, PyGithub
, pygithub
, pythonOlder
, pyyaml
, toml
@ -31,7 +31,7 @@ buildPythonPackage rec {
gitpython
networkx
pydot
PyGithub
pygithub
pyyaml
toml
tqdm

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, Logbook
, logbook
, aiofiles
, aiohttp
, aiohttp-socks
@ -53,7 +53,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
Logbook
logbook
aiofiles
aiohttp
aiohttp-socks

View File

@ -7,11 +7,12 @@
}:
buildPythonPackage rec {
pname = "MDP";
pname = "mdp";
version = "3.6";
src = fetchPypi {
inherit pname version;
pname = "MDP";
inherit version;
sha256 = "ac52a652ccbaed1857ff1209862f03bf9b06d093b12606fb410787da3aa65a0e";
};

View File

@ -14,7 +14,7 @@
, ipykernel
, jinja2
, lxml
, Mako
, mako
, markdown
, micawber
, mock
@ -26,7 +26,7 @@
, pygal
, pygments
, pyphen
, PyRSS2Gen
, pyrss2gen
, pytestCheckHook
, pythonOlder
, requests
@ -36,11 +36,11 @@
, typogrify
, unidecode
, watchdog
, Yapsy
, yapsy
}:
buildPythonPackage rec {
pname = "Nikola";
pname = "nikola";
version = "8.2.3";
disabled = pythonOlder "3.7";
@ -62,7 +62,7 @@ buildPythonPackage rec {
ipykernel
jinja2
lxml
Mako
mako
markdown
micawber
natsort
@ -73,14 +73,14 @@ buildPythonPackage rec {
pygal
pygments
pyphen
PyRSS2Gen
pyrss2gen
requests
ruamel-yaml
toml
typogrify
unidecode
watchdog
Yapsy
yapsy
];
nativeCheckInputs = [

View File

@ -6,7 +6,7 @@
, lib
, nlohmann_json
, pybind11
, PyVirtualDisplay
, pyvirtualdisplay
, sfml
, substituteAll
}:
@ -42,8 +42,8 @@ buildPythonPackage rec {
buildInputs = [ sfml ];
# hydra-core and PyVirtualDisplay are not declared as dependences but they are requirements
propagatedBuildInputs = [ hydra-core PyVirtualDisplay ];
# hydra-core and pyvirtualdisplay are not declared as dependences but they are requirements
propagatedBuildInputs = [ hydra-core pyvirtualdisplay ];
# Test suite requires hydra-submitit-launcher which is not packaged as of 2022-01-02
doCheck = false;

View File

@ -10,8 +10,8 @@
}:
buildPythonPackage rec {
pname = "nuitka";
version = "1.1.5";
pname = "Nuitka";
# Latest version is not yet on PyPi
src = fetchFromGitHub {

View File

@ -11,7 +11,7 @@
, pythonOlder
, rasterio
, requests
, Rtree
, rtree
, scikit-learn
, scipy
, shapely
@ -38,7 +38,7 @@ buildPythonPackage rec {
numpy
pandas
requests
Rtree
rtree
shapely
folium
scikit-learn

View File

@ -19,7 +19,7 @@
, types-pytz
, typing-extensions
, xarray
, XlsxWriter
, xlsxwriter
}:
buildPythonPackage rec {
@ -59,7 +59,7 @@ buildPythonPackage rec {
tabulate
typing-extensions
xarray
XlsxWriter
xlsxwriter
];
disabledTests = [

View File

@ -20,7 +20,7 @@
, pytestCheckHook
, pytest-xdist
, pytest-asyncio
, XlsxWriter
, xlsxwriter
# Darwin inputs
, runtimeShell
, libcxx
@ -54,7 +54,7 @@ buildPythonPackage rec {
pytest-asyncio
pytest-xdist
pytestCheckHook
XlsxWriter
xlsxwriter
];
# Doesn't work with -Werror,-Wunused-command-line-argument

View File

@ -11,7 +11,7 @@
, nbclient
, nbformat
, pyarrow
, PyGithub
, pygithub
, pytest-mock
, pytestCheckHook
, pythonOlder
@ -54,7 +54,7 @@ buildPythonPackage rec {
gcsfs
];
github = [
PyGithub
pygithub
];
hdfs = [
pyarrow

View File

@ -4,7 +4,7 @@
, fetchPypi
, fetchpatch
, pythonOlder
, Mako
, mako
, markdown
, setuptools-git
, setuptools-scm
@ -42,7 +42,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
Mako
mako
markdown
];

View File

@ -2,7 +2,7 @@
, fetchPypi
, buildPythonPackage
, logutils
, Mako
, mako
, webtest
, pythonOlder
, pytestCheckHook
@ -28,7 +28,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
logutils
Mako
mako
webtest
six
];

View File

@ -1,11 +1,12 @@
{ lib , buildPythonPackage , fetchPypi, tkinter }:
buildPythonPackage rec {
pname = "Pmw";
pname = "pmw";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
pname = "Pmw";
inherit version;
sha256 = "sha256-lIQSRXz8zwx3XdCOCRP7APkIlqM8eXN9VxxzEq6vVcY=";
};

View File

@ -11,11 +11,12 @@
}:
buildPythonPackage rec {
pname = "Pweave";
pname = "pweave";
version = "0.30.3";
src = fetchPypi {
inherit pname version;
pname = "Pweave";
inherit version;
sha256 = "5e5298d90e06414a01f48e0d6aa4c36a70c5f223d929f2a9c7e2d388451c7357";
};

View File

@ -3,7 +3,7 @@
, buildPythonPackage
, debugger
, fetchPypi
, Mako
, mako
, packaging
, pysocks
, pygments
@ -52,7 +52,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
Mako
mako
packaging
pysocks
pygments

View File

@ -2,7 +2,7 @@
, addOpenGLRunpath
, fetchPypi
, fetchFromGitHub
, Mako
, mako
, boost
, numpy
, pytools
@ -71,7 +71,7 @@ buildPythonPackage rec {
cudatoolkit
compyte
python
Mako
mako
];
meta = with lib; {

View File

@ -10,7 +10,7 @@
}:
buildPythonPackage rec {
pname = "PyGithub";
pname = "pygithub";
version = "1.57";
format = "setuptools";
disabled = pythonOlder "3.6";

View File

@ -21,7 +21,7 @@
}:
buildPythonPackage rec {
pname = "PyLTI";
pname = "pylti";
version = "0.7.0";
disabled = !isPy27;
@ -38,7 +38,8 @@ buildPythonPackage rec {
];
src = fetchPypi {
inherit pname version;
pname = "PyLTI";
inherit version;
sha256 = "80938a235b1ab390f6889a95237d087ea7adde5cc50fcae9c80c49898e8ee78e";
};

View File

@ -1,11 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, requests }:
buildPythonPackage rec {
pname = "PyMVGLive";
pname = "pymvglive";
version = "1.1.4";
src = fetchPypi {
inherit pname version;
pname = "PyMVGLive";
inherit version;
sha256 = "0sh4xm74im9qxzpbrlc5h1vnpgvpybnpvdcav1iws0b561zdr08c";
};

View File

@ -5,7 +5,7 @@
, appdirs
, cffi
, decorator
, Mako
, mako
, mesa_drivers
, numpy
, ocl-icd
@ -31,7 +31,7 @@ in buildPythonPackage rec {
appdirs
cffi
decorator
Mako
mako
numpy
platformdirs
pytools

View File

@ -4,7 +4,7 @@
, django
, fetchFromGitHub
, jinja2
, Mako
, mako
, nose
, pyramid
, pyramid_mako
@ -29,7 +29,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
django
jinja2
Mako
mako
nose
tornado
pyramid

View File

@ -4,7 +4,7 @@
, fetchpatch
, webtest
, pyramid
, Mako
, mako
}:
buildPythonPackage rec {
@ -26,7 +26,7 @@ buildPythonPackage rec {
];
buildInputs = [ webtest ];
propagatedBuildInputs = [ pyramid Mako ];
propagatedBuildInputs = [ pyramid mako ];
meta = with lib; {
homepage = "https://github.com/Pylons/pyramid_mako";

View File

@ -4,11 +4,12 @@
}:
buildPythonPackage rec {
pname = "PyRSS2Gen";
pname = "pyrss2gen";
version = "1.1";
src = fetchPypi {
inherit pname version;
pname = "PyRSS2Gen";
inherit version;
sha256 = "1rvf5jw9hknqz02rp1vg8abgb1lpa0bc65l7ylmlillqx7bswq3r";
};

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, isPy3k
, EasyProcess
, easyprocess
, entrypoint2
, jeepney
, mss
@ -19,7 +19,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
EasyProcess
easyprocess
entrypoint2
pillow
] ++ lib.optionals (isPy3k) [

View File

@ -9,15 +9,10 @@
}:
buildPythonPackage rec {
pname = "PyStemmer";
pname = "pystemmer";
version = "2.2.0";
format = "setuptools";
src' = fetchPypi {
inherit pname version;
sha256 = "sha256-4hcbkbhrscap3d8J6Mhn5Ij4vWm94H0EEKNc3O4NhXw=";
};
src = fetchFromGitHub {
owner = "snowballstem";
repo = "pystemmer";
@ -52,10 +47,6 @@ buildPythonPackage rec {
"-L${libstemmer}/lib"
];
#preBuild = ''
# cython src/Stemmer.pyx
#'';
pythonImportsCheck = [
"Stemmer"
];

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, Mako
, mako
, parse
, parse-type
, poetry-core
@ -35,7 +35,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
Mako
mako
parse
parse-type
typing-extensions

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, pytest
, PyVirtualDisplay
, pyvirtualdisplay
, isPy27
}:
@ -19,7 +19,7 @@ buildPythonPackage rec {
buildInputs = [ pytest ];
propagatedBuildInputs = [
PyVirtualDisplay
pyvirtualdisplay
];
meta = with lib; {

View File

@ -1,6 +1,6 @@
{ lib
, aiolimiter
, APScheduler
, apscheduler
, beautifulsoup4
, buildPythonPackage
, cachetools
@ -33,7 +33,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiolimiter
APScheduler
apscheduler
cachetools
cryptography
httpx

View File

@ -1,13 +1,14 @@
{ lib, buildPythonPackage, fetchPypi, EasyProcess }:
buildPythonPackage rec {
pname = "PyVirtualDisplay";
pname = "pyvirtualdisplay";
version = "3.0";
propagatedBuildInputs = [ EasyProcess ];
src = fetchPypi {
inherit pname version;
pname = "PyVirtualDisplay";
inherit version;
sha256 = "sha256-CXVbw86263JfsH7KVCX0PyNY078I4A0qm3kqGu3RYVk=";
};

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, decorator
, fetchPypi
, FormEncode
, formencode
, httpretty
, libxml2
, lxml
@ -47,7 +47,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
decorator
FormEncode
formencode
httpretty
libxml2
lxml

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, CommonMark
, commonmark
, docutils
, sphinx
, isPy3k
@ -20,7 +20,7 @@ buildPythonPackage rec {
};
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ CommonMark docutils sphinx ];
propagatedBuildInputs = [ commonmark docutils sphinx ];
dontUseSetuptoolsCheck = true;

View File

@ -4,7 +4,7 @@
, sphinx
, pytest-cov
, pytest
, Mako
, mako
, numpy
, funcsigs
, withCuda ? false, pycuda
@ -22,7 +22,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ sphinx pytest-cov pytest ];
propagatedBuildInputs = [ Mako numpy funcsigs ]
propagatedBuildInputs = [ mako numpy funcsigs ]
++ lib.optional withCuda pycuda
++ lib.optional withOpenCL pyopencl;

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, CommonMark
, commonmark
, poetry-core
, pygments
, typing-extensions
@ -31,7 +31,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
CommonMark
commonmark
pygments
] ++ lib.optionals (pythonOlder "3.9") [
typing-extensions

View File

@ -6,7 +6,7 @@
, requests
, setuptools
, pythonOlder
, XlsxWriter
, xlsxwriter
}:
buildPythonPackage rec {
@ -26,7 +26,7 @@ buildPythonPackage rec {
colorama
requests
setuptools
XlsxWriter
xlsxwriter
];
# The tests require a shodan api key, so skip them.

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, PyStemmer, fetchPypi }:
{ lib, buildPythonPackage, pystemmer, fetchPypi }:
buildPythonPackage rec {
pname = "snowballstemmer";
@ -12,7 +12,7 @@ buildPythonPackage rec {
# No tests included
doCheck = false;
propagatedBuildInputs = [ PyStemmer ];
propagatedBuildInputs = [ pystemmer ];
meta = with lib; {
description = "16 stemmer algorithms (15 + Poerter English stemmer) generated from Snowball algorithms";

View File

@ -4,7 +4,7 @@
, fetchFromGitHub
, sphinx
, markdown
, CommonMark
, commonmark
, recommonmark
, pydash
, pyyaml
@ -27,7 +27,7 @@ buildPythonPackage rec {
sha256 = "0i0hhapmdmh83yx61lxi2h4bsmhnzddamz95844g2ghm132kw5mv";
};
propagatedBuildInputs = [ sphinx markdown CommonMark pydash pyyaml unify yapf recommonmark ];
propagatedBuildInputs = [ sphinx markdown commonmark pydash pyyaml unify yapf recommonmark ];
# Avoids running broken tests in test_markdown.py
checkPhase = ''

Some files were not shown because too many files have changed in this diff Show More