Commit dc692181 authored by Sigmanificient's avatar Sigmanificient
Browse files

python312Packages.rauth: drop

parent 6c966036
Loading
Loading
Loading
Loading
+0 −52
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  requests,
  pytestCheckHook,
  mock,
  nose,
  pycrypto,
}:

buildPythonPackage rec {
  pname = "rauth";
  version = "0.7.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "litl";
    repo = "rauth";
    rev = version;
    hash = "sha256-wRKZbxZCEfihOaJM8sk8438LE++KJWxdOGImpL1gHa4=";
  };

  patches = [
    (fetchpatch {
      # https://github.com/litl/rauth/pull/211
      name = "fix-pycrypdodome-replacement-for-pycrypto.patch";
      url = "https://github.com/litl/rauth/commit/7fb3b7bf1a1869a52cf59ee3eb607d318e97265c.patch";
      hash = "sha256-jiAIw+VQ2d/bkm2brqfY1RUrNGf+lsMPnoI91gGUS6o=";
    })
  ];

  propagatedBuildInputs = [ requests ];

  pythonImportsCheck = [ "rauth" ];

  nativeCheckInputs = [
    pytestCheckHook
    mock
    nose
    pycrypto
  ];

  meta = with lib; {
    description = "Python library for OAuth 1.0/a, 2.0, and Ofly";
    homepage = "https://github.com/litl/rauth";
    changelog = "https://github.com/litl/rauth/blob/${src.rev}/CHANGELOG";
    license = licenses.mit;
    maintainers = with maintainers; [ blaggacao ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -492,6 +492,7 @@ mapAliases ({
  radicale_infcloud = radicale-infcloud; # added 2024-01-07
  radio_beam = radio-beam; # added 2023-11-04
  ratelimiter = throw "ratelimiter has been removed, since it is unmaintained and broken"; # added 2023-10-21
  rauth = throw "rauth has beed removed, since it is unmaintained upstream"; # added 2024-07-27
  rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
  readme_renderer = readme-renderer; # added 2024-01-07
  recaptcha_client = throw "recaptcha_client has been removed since it is no longer maintained"; # added 2023-10-20
+0 −2
Original line number Diff line number Diff line
@@ -13353,8 +13353,6 @@ self: super: with self; {
  ratelimit = callPackage ../development/python-modules/ratelimit { };
  rauth = callPackage ../development/python-modules/rauth { };
  raven = callPackage ../development/python-modules/raven { };
  rawkit = callPackage ../development/python-modules/rawkit { };