Commit 5defe9e4 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.rfc3161-client: migrate to finalAttrs

parent 49426923
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "rfc3161-client";
  version = "1.0.6";
  pyproject = true;
@@ -17,12 +17,12 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "trailofbits";
    repo = "rfc3161-client";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-8OjohrHqUgsKXRZ28Au6Un6Wlzh81XVSQosoQC2f+Fs=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit src pname;
    inherit (finalAttrs) src pname;
    hash = "sha256-jQsogV+qR0jAkHz/Slg9oBO/f96osU8YcjuaX4ZJQTk=";
  };

@@ -50,7 +50,7 @@ buildPythonPackage rec {
    maintainers = with lib.maintainers; [ bot-wxt1221 ];
    license = lib.licenses.asl20;
    platforms = lib.platforms.all;
    changelog = "https://github.com/trailofbits/rfc3161-client/releases/tag/v${version}";
    changelog = "https://github.com/trailofbits/rfc3161-client/releases/tag/${finalAttrs.src.tag}";
    description = "Opinionated Python RFC3161 Client";
  };
}
})