2021-04-12 18:23:04 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitLab, isPy3k, plum-py, pytestCheckHook, baseline }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "exif";
|
2022-12-02 08:20:57 +00:00
|
|
|
version = "1.3.5";
|
2021-04-12 18:23:04 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "TNThieding";
|
|
|
|
repo = "exif";
|
2022-12-02 08:20:57 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-XSORawioXo8oPVZ3Jnxqa6GFIxnQZMT0vJitdmpBj0E=";
|
2021-04-12 18:23:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ plum-py ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook baseline ];
|
2021-04-12 18:23:04 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
pythonImportsCheck = [ "exif" ];
|
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Read and modify image EXIF metadata using Python";
|
|
|
|
homepage = "https://gitlab.com/TNThieding/exif";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dnr ];
|
|
|
|
};
|
|
|
|
}
|