Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
871 B
Nix
42 lines
871 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitLab,
|
|
pythonOlder,
|
|
plum-py,
|
|
pytestCheckHook,
|
|
baseline,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "exif";
|
|
version = "1.6.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "TNThieding";
|
|
repo = "exif";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-uiHL3m0C6+YnAHRLwzMCSzffrQsSyVcuem6FBtTLxek=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ plum-py ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
baseline
|
|
];
|
|
|
|
pythonImportsCheck = [ "exif" ];
|
|
|
|
meta = with lib; {
|
|
description = "Read and modify image EXIF metadata using Python";
|
|
homepage = "https://gitlab.com/TNThieding/exif";
|
|
changelog = "https://gitlab.com/TNThieding/exif/-/blob/v${version}/docs/release_notes.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dnr ];
|
|
};
|
|
}
|