mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
ed01285e71
- update disabled
45 lines
874 B
Nix
45 lines
874 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 ];
|
|
};
|
|
}
|