33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
27 lines
708 B
Nix
27 lines
708 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 ];
|
|
|
|
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 ];
|
|
};
|
|
}
|