Commit faa7ddff authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.pyspnego: migrate to finalAttrs

parent cdfdca48
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -3,16 +3,16 @@
  buildPythonPackage,
  cryptography,
  fetchFromGitHub,
  glibcLocales,
  gssapi,
  krb5,
  ruamel-yaml,
  pytest-mock,
  pytestCheckHook,
  ruamel-yaml,
  setuptools,
  glibcLocales,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pyspnego";
  version = "0.12.1";
  pyproject = true;
@@ -20,13 +20,13 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "jborean93";
    repo = "pyspnego";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-nO+WNpgPAunBSFbrCRb/W511z0nXUIK7XT/SisTk2+0=";
  };

  nativeBuildInputs = [ setuptools ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [ cryptography ];
  dependencies = [ cryptography ];

  optional-dependencies = {
    kerberos = [
@@ -47,11 +47,11 @@ buildPythonPackage rec {
  env.LC_ALL = "en_US.UTF-8";

  meta = {
    changelog = "https://github.com/jborean93/pyspnego/blob/${src.tag}/CHANGELOG.md";
    description = "Python SPNEGO authentication library";
    mainProgram = "pyspnego-parse";
    homepage = "https://github.com/jborean93/pyspnego";
    license = with lib.licenses; [ mit ];
    changelog = "https://github.com/jborean93/pyspnego/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "pyspnego-parse";
  };
}
})