summary refs log tree commit diff
path: root/pkgs/development/python-modules/exif/default.nix
blob: da4ba40a924603b7edaca19e3db5288f5cc46e1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, buildPythonPackage, fetchFromGitLab, isPy3k, plum-py, pytestCheckHook, baseline }:

buildPythonPackage rec {
  pname = "exif";
  version = "1.3.5";
  disabled = !isPy3k;

  src = fetchFromGitLab {
    owner = "TNThieding";
    repo = "exif";
    rev = "v${version}";
    sha256 = "sha256-XSORawioXo8oPVZ3Jnxqa6GFIxnQZMT0vJitdmpBj0E=";
  };

  propagatedBuildInputs = [ plum-py ];

  checkInputs = [ pytestCheckHook baseline ];

  pythonImportsCheck = [ "exif" ];

  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 ];
  };
}