This reverts commitmainb041b2e1b2
, reversing changes made to5b6c2380ad
.
parent
b041b2e1b2
commit
7f732aca66
Binary file not shown.
@ -1,56 +1,26 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchPypi |
||||
, pythonOlder |
||||
, Mako |
||||
, python-dateutil |
||||
, sqlalchemy |
||||
, importlib-metadata |
||||
, importlib-resources |
||||
, pytest-xdist |
||||
, pytestCheckHook |
||||
|
||||
{ lib, buildPythonPackage, fetchPypi |
||||
, pytest, pytest-cov, mock, coverage, setuptools |
||||
, Mako, sqlalchemy, python-editor, python-dateutil |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "alembic"; |
||||
version = "1.7.1"; |
||||
format = "setuptools"; |
||||
|
||||
disabled = pythonOlder "3.6"; |
||||
version = "1.6.5"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "aea964d3dcc9c205b8759e4e9c1c3935ea3afeee259bffd7ed8414f8085140fb"; |
||||
sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
Mako |
||||
python-dateutil |
||||
sqlalchemy |
||||
] ++ lib.optionals (pythonOlder "3.9") [ |
||||
importlib-resources |
||||
] ++ lib.optionals (pythonOlder "3.8") [ |
||||
importlib-metadata |
||||
]; |
||||
|
||||
pythonImportsCheck = [ |
||||
"alembic" |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
pytest-xdist |
||||
]; |
||||
buildInputs = [ pytest pytest-cov mock coverage ]; |
||||
propagatedBuildInputs = [ Mako sqlalchemy python-editor python-dateutil setuptools ]; |
||||
|
||||
pytestFlagsArray = [ |
||||
"--numprocesses" "auto" |
||||
]; |
||||
# no traditional test suite |
||||
doCheck = false; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://bitbucket.org/zzzeek/alembic"; |
||||
description = "A database migration tool for SQLAlchemy"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ ]; |
||||
}; |
||||
} |
||||
|
@ -1,45 +0,0 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, pythonOlder |
||||
, fetchFromGitHub |
||||
, future |
||||
, pytestCheckHook |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "asn1"; |
||||
version = "2.4.1"; |
||||
|
||||
disabled = pythonOlder "3.7"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "andrivet"; |
||||
repo = "python-asn1"; |
||||
rev = "v${version}"; |
||||
sha256 = "0g2d5cr1pxsm5ackba7padf7gvlgrgv807kh0312s5axjd2cww2l"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
future |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
postPatch = '' |
||||
substituteInPlace setup.py \ |
||||
--replace "enum-compat" "" |
||||
''; |
||||
|
||||
pytestFlagsArray = [ "tests/test_asn1.py" ]; |
||||
|
||||
pythonImportsCheck = [ "asn1" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python ASN.1 encoder and decoder"; |
||||
homepage = "https://github.com/andrivet/python-asn1"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ fab ]; |
||||
}; |
||||
} |
@ -1,30 +0,0 @@ |
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, setuptools-scm, importlib-metadata }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "backports-entry-points-selectable"; |
||||
version = "1.1.0"; |
||||
|
||||
src = fetchPypi { |
||||
pname = "backports.entry_points_selectable"; |
||||
inherit version; |
||||
sha256 = "988468260ec1c196dab6ae1149260e2f5472c9110334e5d51adcb77867361f6a"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ setuptools-scm ]; |
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ |
||||
importlib-metadata |
||||
]; |
||||
|
||||
# no tests |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "backports.entry_points_selectable" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Compatibility shim providing selectable entry points for older implementations"; |
||||
homepage = "https://github.com/jaraco/backports.entry_points_selectable"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ SuperSandro2000 ]; |
||||
}; |
||||
} |
@ -1,35 +0,0 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchFromGitHub |
||||
, pytestCheckHook |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "charset-normalizer"; |
||||
version = "2.0.1"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "Ousret"; |
||||
repo = "charset_normalizer"; |
||||
rev = version; |
||||
sha256 = "04rnyrqay11kma9pzagi1mzhc0sq37ggpv39kad2d4ynm35v2hfq"; |
||||
}; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
postPatch = '' |
||||
substituteInPlace setup.cfg \ |
||||
--replace " --cov=charset_normalizer --cov-report=term-missing" "" |
||||
''; |
||||
|
||||
pythonImportsCheck = [ "charset_normalizer" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python module for encoding and language detection"; |
||||
homepage = "https://charset-normalizer.readthedocs.io/"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ fab ]; |
||||
}; |
||||
} |
@ -1,23 +0,0 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchPypi |
||||
, unittest2 |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "contextlib2"; |
||||
version = "0.6.0.post1"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e"; |
||||
}; |
||||
|
||||
checkInputs = [ unittest2 ]; |
||||
|
||||
meta = { |
||||
description = "Backports and enhancements for the contextlib module"; |
||||
homepage = "https://contextlib2.readthedocs.org/"; |
||||
license = lib.licenses.psfl; |
||||
}; |
||||
} |
@ -1,25 +0,0 @@ |
||||
{ lib, buildPythonPackage, fetchPypi, python-dateutil, pytz }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "dateutils"; |
||||
version = "0.6.12"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "sha256-A92QvLIVQb1OtLATY35PG1+USIHEbMbktnpgWeNw4/E="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
python-dateutil |
||||
pytz |
||||
]; |
||||
|
||||
pythonImportsCheck = [ "dateutils" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Utilities for working with datetime objects."; |
||||
homepage = "https://github.com/jmcantrell/python-dateutils"; |
||||
license = licenses.bsd0; |
||||
maintainers = with maintainers; [ SuperSandro2000 ]; |
||||
}; |
||||
} |
@ -1,21 +0,0 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchPypi |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "decorator"; |
||||
version = "4.4.2"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "1rxzhk5zwiggk45hl53zydvy70lk654kg0nc1p54090p402jz9p3"; |
||||
}; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://pypi.python.org/pypi/decorator"; |
||||
description = "Better living through Python with decorators"; |
||||
license = lib.licenses.mit; |
||||
maintainers = [ maintainers.costrouc ]; |
||||
}; |
||||
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue