depot/third_party/nixpkgs/pkgs/development/python-modules/exif/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

27 lines
706 B
Nix

{ 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}";
hash = "sha256-XSORawioXo8oPVZ3Jnxqa6GFIxnQZMT0vJitdmpBj0E=";
};
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";
license = licenses.mit;
maintainers = with maintainers; [ dnr ];
};
}