11 buildPythonPackage rec {
16 disabled = pythonOlder "3.6";
18 src = fetchFromGitHub {
21 rev = "refs/tags/v${version}";
22 hash = "sha256-dgQkbpCbdq2JbupY0DyQbHPR9Bg+bwDo7yN03o3sX+A=";
26 substituteInPlace exiftool/constants.py \
27 --replace-fail 'DEFAULT_EXECUTABLE = "exiftool"' \
28 'DEFAULT_EXECUTABLE = "${lib.getExe exiftool}"'
31 nativeBuildInputs = [ setuptools ];
33 pythonImportsCheck = [ "exiftool" ];
35 nativeCheckInputs = [ pytestCheckHook ];
38 changelog = "https://github.com/sylikc/pyexiftool/blob/${src.rev}/CHANGELOG.md";
39 description = "Python wrapper for exiftool";
40 homepage = "https://github.com/sylikc/pyexiftool";
41 license = with lib.licenses; [
45 maintainers = with lib.maintainers; [ dotlambda ];