From 26d74675fa8df3637fd674ca7b289a3bba50fd7a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 22 Apr 2022 08:10:18 +0200 Subject: [PATCH] python3Packages.net2grid: remove --- .../python-modules/net2grid/default.nix | 58 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 pkgs/development/python-modules/net2grid/default.nix diff --git a/pkgs/development/python-modules/net2grid/default.nix b/pkgs/development/python-modules/net2grid/default.nix deleted file mode 100644 index ef03d45ab6b8..000000000000 --- a/pkgs/development/python-modules/net2grid/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 85c79d04d333..9d912ee5e601 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -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 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0ed2d95217e4..c450d16d3ada 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };