10 buildPythonPackage rec {
15 disabled = pythonOlder "3.6";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-dgQkbpCbdq2JbupY0DyQbHPR9Bg+bwDo7yN03o3sX+A=";
25 substituteInPlace exiftool/constants.py \
26 --replace-fail 'DEFAULT_EXECUTABLE = "exiftool"' \
27 'DEFAULT_EXECUTABLE = "${lib.getExe exiftool}"'
34 pythonImportsCheck = [ "exiftool" ];
41 changelog = "https://github.com/sylikc/pyexiftool/blob/${src.rev}/CHANGELOG.md";
42 description = "Python wrapper for exiftool";
43 homepage = "https://github.com/sylikc/pyexiftool";
44 license = with lib.licenses; [ bsd3 /* or */ gpl3Plus ];
45 maintainers = with lib.maintainers; [ dotlambda ];