at 24.05-pre 874 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitLab 4, pythonOlder 5, plum-py 6, pytestCheckHook 7, baseline 8}: 9 10buildPythonPackage rec { 11 pname = "exif"; 12 version = "1.6.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitLab { 18 owner = "TNThieding"; 19 repo = "exif"; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-uiHL3m0C6+YnAHRLwzMCSzffrQsSyVcuem6FBtTLxek="; 22 }; 23 24 propagatedBuildInputs = [ 25 plum-py 26 ]; 27 28 nativeCheckInputs = [ 29 pytestCheckHook 30 baseline 31 ]; 32 33 pythonImportsCheck = [ 34 "exif" 35 ]; 36 37 meta = with lib; { 38 description = "Read and modify image EXIF metadata using Python"; 39 homepage = "https://gitlab.com/TNThieding/exif"; 40 changelog = "https://gitlab.com/TNThieding/exif/-/blob/v${version}/docs/release_notes.rst"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ dnr ]; 43 }; 44}