Unverified Commit 736a64e7 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.requests-gssapi: refactor

parent ccce06eb
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchPypi
, gssapi
, lib
, pytestCheckHook
, pythonOlder
, requests
, setuptools
}:

buildPythonPackage rec {
  pname = "requests-gssapi";
  version = "1.2.3";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-IHhFCJgUAfcVPJM+7QlTOJM6QIGNplolnb8tgNzLFQ4=";
  };

  nativeBuildInputs = [
  build-system = [
    setuptools
  ];

  propagatedBuildInputs = [
  dependencies = [
    gssapi
    requests
  ];
@@ -29,13 +33,15 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  pythonImportCheck = [ "requests_gssapi" ];
  pythonImportCheck = [
    "requests_gssapi"
  ];

  meta = with lib; {
    description = "A GSSAPI authentication handler for python-requests";
    homepage = "https://github.com/pythongssapi/requests-gssapi";
    changelog = "https://github.com/pythongssapi/requests-gssapi/blob/v${version}/HISTORY.rst";
    changelog = "https://github.com/pythongssapi/requests-gssapi/blob/v${version}/HISTORY.rst"
    license = licenses.isc;
    maintainers = with maintainers; [ javimerino ];
    license = [ licenses.isc ];
  };
}