Commit e890ddcb authored by Sigmanificient's avatar Sigmanificient
Browse files

python3Packages.hightime: use finalAttrs

parent f36ae64c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
  pytest-cov-stub,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "hightime";
  version = "1.0.0";
  pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "ni";
    repo = "hightime";
    rev = "v${version}";
    rev = "v${finalAttrs.version}";
    hash = "sha256-5WEr2tOxQap+otV8DCdIi3MkfHol4TU4qZXf4u2EQhY=";
  };

@@ -36,10 +36,10 @@ buildPythonPackage rec {
  pythonImportsCheck = [ "hightime" ];

  meta = {
    changelog = "https://github.com/ni/hightime/releases/tag/v${version}";
    changelog = "https://github.com/ni/hightime/releases/tag/v${finalAttrs.version}";
    description = "Hightime Python API";
    homepage = "https://github.com/ni/hightime";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fsagbuya ];
  };
}
})