Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, pkg-config, exiv2, gettext, fetchFromGitHub, gitUpdater, buildPythonPackage, setuptools, toml, pytestCheckHook,}:buildPythonPackage (finalAttrs: { pname = "exiv2"; version = "0.18.1"; pyproject = true;
src = fetchFromGitHub { owner = "jim-easterbrook"; repo = "python-exiv2"; tag = finalAttrs.version; hash = "sha256-3r0qGsCkfe2sQuXiCipXzW0vF2JRg77L1IcOiLTPslM="; };
build-system = [ setuptools toml ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ exiv2 gettext ];
pythonImportsCheck = [ "exiv2" ]; nativeCheckInputs = [ pytestCheckHook ];
passthru.updateScript = gitUpdater { };
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/${finalAttrs.src.tag}/CHANGELOG.txt"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ zebreus ]; };})