mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
python3Packages.odp-amsterdam: init at 5.0.0
Renamed from garages-amsterdam.
This commit is contained in:
parent
4920c82507
commit
1d06a93281
|
@ -1,28 +1,33 @@
|
||||||
{ lib
|
{ lib
|
||||||
, aiohttp
|
, aiohttp
|
||||||
|
, aresponses
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "garages-amsterdam";
|
pname = "odp-amsterdam";
|
||||||
version = "4.1.0";
|
version = "5.0.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "klaasnicolaas";
|
owner = "klaasnicolaas";
|
||||||
repo = "garages_amsterdam";
|
repo = "python-odp-amsterdam";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-ZWp543msRAgn/fFplEt6saSNbZ2flC5gwjxrll4w0W0=";
|
hash = "sha256-zVnM4KYH4R6n2y9IAaYGOZVPnc8RuT/S2bseKJBO9bg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace '"0.0.0"' '"${version}"'
|
--replace '"0.0.0"' '"${version}"'
|
||||||
|
|
||||||
|
sed -i '/addopts/d' pyproject.toml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -33,11 +38,14 @@ buildPythonPackage rec {
|
||||||
aiohttp
|
aiohttp
|
||||||
];
|
];
|
||||||
|
|
||||||
# The only test requires network access
|
checkInputs = [
|
||||||
doCheck = false;
|
aresponses
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"garages_amsterdam"
|
"odp_amsterdam"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
|
@ -85,6 +85,7 @@ mapAliases ({
|
||||||
flask_testing = flask-testing; # added 2022-04-25
|
flask_testing = flask-testing; # added 2022-04-25
|
||||||
flask_wtf = flask-wtf; # added 2022-05-24
|
flask_wtf = flask-wtf; # added 2022-05-24
|
||||||
functorch = throw "functorch is now part of the torch package and has therefore been removed. See https://github.com/pytorch/functorch/releases/tag/v1.13.0 for more info."; # added 2022-12-01
|
functorch = throw "functorch is now part of the torch package and has therefore been removed. See https://github.com/pytorch/functorch/releases/tag/v1.13.0 for more info."; # added 2022-12-01
|
||||||
|
garages-amsterdam = throw "garages-amsterdam has been renamed odp-amsterdam."; # added 2023-01-04
|
||||||
garminconnect-ha = garminconnect; # added 2022-02-05
|
garminconnect-ha = garminconnect; # added 2022-02-05
|
||||||
gigalixir = throw "gigalixir has been promoted to a top-level attribute"; # Added 2022-10-02
|
gigalixir = throw "gigalixir has been promoted to a top-level attribute"; # Added 2022-10-02
|
||||||
gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
|
gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
|
||||||
|
|
|
@ -3622,8 +3622,6 @@ self: super: with self; {
|
||||||
|
|
||||||
gast = callPackage ../development/python-modules/gast { };
|
gast = callPackage ../development/python-modules/gast { };
|
||||||
|
|
||||||
garages-amsterdam = callPackage ../development/python-modules/garages-amsterdam { };
|
|
||||||
|
|
||||||
gatt = callPackage ../development/python-modules/gatt { };
|
gatt = callPackage ../development/python-modules/gatt { };
|
||||||
|
|
||||||
gattlib = callPackage ../development/python-modules/gattlib {
|
gattlib = callPackage ../development/python-modules/gattlib {
|
||||||
|
@ -6452,6 +6450,8 @@ self: super: with self; {
|
||||||
|
|
||||||
odfpy = callPackage ../development/python-modules/odfpy { };
|
odfpy = callPackage ../development/python-modules/odfpy { };
|
||||||
|
|
||||||
|
odp-amsterdam = callPackage ../development/python-modules/odp-amsterdam { };
|
||||||
|
|
||||||
offtrac = callPackage ../development/python-modules/offtrac { };
|
offtrac = callPackage ../development/python-modules/offtrac { };
|
||||||
|
|
||||||
ofxclient = callPackage ../development/python-modules/ofxclient { };
|
ofxclient = callPackage ../development/python-modules/ofxclient { };
|
||||||
|
|
Loading…
Reference in a new issue