python3Packages.net2grid: remove

This commit is contained in:
Fabian Affolter 2022-04-22 08:10:18 +02:00
parent eed6535791
commit 26d74675fa
3 changed files with 1 additions and 60 deletions

View File

@ -1,58 +0,0 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, yarl
}:
buildPythonPackage rec {
pname = "net2grid";
version = "4.0.0";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "klaasnicolaas";
repo = "python-net2grid";
rev = "v${version}";
hash = "sha256-Ihs8qUx50tAUcRBsVArRhzoLcQUi1vbYh8sPyK75AEk=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
yarl
];
checkInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"0.0.0"' '"${version}"' \
--replace 'addopts = "--cov"' ""
'';
pythonImportsCheck = [
"net2grid"
];
meta = with lib; {
description = "Module for interacting with NET2GRID devices";
homepage = "https://github.com/klaasnicolaas/python-net2grid";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -79,6 +79,7 @@ mapAliases ({
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
Markups = markups; # added 2022-02-14
MechanicalSoup = mechanicalsoup; # added 2021-06-01
net2grid = gridnet; # add 2022-04-22
nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16
pam = python-pam; # added 2020-09-07.
PasteDeploy = pastedeploy; # added 2021-10-07

View File

@ -5535,8 +5535,6 @@ in {
nestedtext = callPackage ../development/python-modules/nestedtext { };
net2grid = callPackage ../development/python-modules/net2grid { };
netaddr = callPackage ../development/python-modules/netaddr { };
netcdf4 = callPackage ../development/python-modules/netcdf4 { };