Unverified Commit 2d7acc0c authored by Tom Hunze's avatar Tom Hunze
Browse files

python3Packages.exiv2: use `finalAttrs`

parent 0456c2c9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
  toml,
  pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "exiv2";
  version = "0.18.1";
  pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "jim-easterbrook";
    repo = "python-exiv2";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-3r0qGsCkfe2sQuXiCipXzW0vF2JRg77L1IcOiLTPslM=";
  };

@@ -41,8 +41,8 @@ buildPythonPackage rec {
  meta = {
    description = "Low level Python interface to the Exiv2 C++ library";
    homepage = "https://github.com/jim-easterbrook/python-exiv2";
    changelog = "https://github.com/jim-easterbrook/python-exiv2/blob/${src.tag}/CHANGELOG.txt";
    changelog = "https://github.com/jim-easterbrook/python-exiv2/blob/${finalAttrs.src.tag}/CHANGELOG.txt";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ zebreus ];
  };
}
})