Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchFromGitLab, isPy3k, plum-py, pytestCheckHook, baseline }:
2
3buildPythonPackage rec {
4 pname = "exif";
5 version = "1.3.5";
6 disabled = !isPy3k;
7
8 src = fetchFromGitLab {
9 owner = "TNThieding";
10 repo = "exif";
11 rev = "v${version}";
12 sha256 = "sha256-XSORawioXo8oPVZ3Jnxqa6GFIxnQZMT0vJitdmpBj0E=";
13 };
14
15 propagatedBuildInputs = [ plum-py ];
16
17 checkInputs = [ pytestCheckHook baseline ];
18
19 pythonImportsCheck = [ "exif" ];
20
21 meta = with lib; {
22 description = "Read and modify image EXIF metadata using Python";
23 homepage = "https://gitlab.com/TNThieding/exif";
24 license = licenses.mit;
25 maintainers = with maintainers; [ dnr ];
26 };
27}