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