nautilus: fix cross compilation (#373662)
[NixPkgs.git] / pkgs / development / python-modules / exif / default.nix
blob129e6e2863f3c9e4d64a1377579217c36ed5252b
2   lib,
3   buildPythonPackage,
4   fetchFromGitLab,
5   pythonOlder,
6   plum-py,
7   pytestCheckHook,
8   baseline,
9 }:
11 buildPythonPackage rec {
12   pname = "exif";
13   version = "1.6.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitLab {
19     owner = "TNThieding";
20     repo = "exif";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-uiHL3m0C6+YnAHRLwzMCSzffrQsSyVcuem6FBtTLxek=";
23   };
25   propagatedBuildInputs = [ plum-py ];
27   nativeCheckInputs = [
28     pytestCheckHook
29     baseline
30   ];
32   pythonImportsCheck = [ "exif" ];
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   };