mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
28 lines
702 B
Nix
28 lines
702 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}";
|
|
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 ];
|
|
};
|
|
}
|