python311Packages.exif: aadd changelog to meta

- update disabled
This commit is contained in:
Fabian Affolter 2023-05-18 21:18:25 +02:00 committed by GitHub
parent 8c3476dfdf
commit ed01285e71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,27 +1,44 @@
{ lib, buildPythonPackage, fetchFromGitLab, isPy3k, plum-py, pytestCheckHook, baseline }: { lib
, buildPythonPackage
, fetchFromGitLab
, pythonOlder
, plum-py
, pytestCheckHook
, baseline
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "exif"; pname = "exif";
version = "1.6.0"; version = "1.6.0";
disabled = !isPy3k; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "TNThieding"; owner = "TNThieding";
repo = "exif"; repo = "exif";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-uiHL3m0C6+YnAHRLwzMCSzffrQsSyVcuem6FBtTLxek="; hash = "sha256-uiHL3m0C6+YnAHRLwzMCSzffrQsSyVcuem6FBtTLxek=";
}; };
propagatedBuildInputs = [ plum-py ]; propagatedBuildInputs = [
plum-py
];
nativeCheckInputs = [ pytestCheckHook baseline ]; nativeCheckInputs = [
pytestCheckHook
baseline
];
pythonImportsCheck = [ "exif" ]; pythonImportsCheck = [
"exif"
];
meta = with lib; { meta = with lib; {
description = "Read and modify image EXIF metadata using Python"; description = "Read and modify image EXIF metadata using Python";
homepage = "https://gitlab.com/TNThieding/exif"; homepage = "https://gitlab.com/TNThieding/exif";
license = licenses.mit; changelog = "https://gitlab.com/TNThieding/exif/-/blob/v${version}/docs/release_notes.rst";
license = licenses.mit;
maintainers = with maintainers; [ dnr ]; maintainers = with maintainers; [ dnr ];
}; };
} }