Unverified Commit 22e2f200 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python312Packages.pynose: drop

The pynose package violates the license of nose, which is distributed
under the LGPL license, by redistributing its code under the MIT license.
parent fae12c59
Loading
Loading
Loading
Loading
+0 −31
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pynose";
  version = "1.5.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mdmintz";
    repo = "pynose";
    rev = "refs/tags/v${version}";
    hash = "sha256-Oi+vwInqgsdZfr5abJUa4zkTktpEuG0m89d1O8Oot0Q=";
  };

  nativeBuildInputs = [ setuptools ];

  # has no tests
  doCheck = false;

  meta = with lib; {
    description = "pynose fixes nose to extend unittest and make testing easier";
    homepage = "https://github.com/mdmintz/pynose";
    license = licenses.mit;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -390,6 +390,7 @@ mapAliases ({
  pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
  PyMVGLive = pymvglive; # added 2023-02-19
  pymyq = python-myq; # added 2023-10-20
  pynose = throw "pynose was removed, because it violates the license of nose, by redistributing modified LGPL code under MIT.";
  python-myq = throw "python-myq has been removed, as the service provider has decided to block its API requests"; # added 2023-12-07
  pyqt4 = throw "pyqt4 has been removed, because it depended on the long EOL qt4"; # added 2022-06-09
  pyqt5_sip = pyqt5-sip; # added 2024-01-07
+0 −2
Original line number Diff line number Diff line
@@ -10147,8 +10147,6 @@ self: super: with self; {
  pynobo = callPackage ../development/python-modules/pynobo { };
  pynose = callPackage ../development/python-modules/pynose { };
  pynotifier = callPackage ../development/python-modules/pynotifier { };
  pynuki = callPackage ../development/python-modules/pynuki { };