Unverified Commit 2b0b18b1 authored by Daniel Nagy's avatar Daniel Nagy
Browse files

python3Packages.exif: 1.2.0 -> 1.3.5

parent dd5ba982
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -2,25 +2,22 @@

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

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

  propagatedBuildInputs = [ plum-py ];

  postPatch = ''
    substituteInPlace setup.py \
      --replace "plum-py==0.3.1" "plum-py>=0.3.1"
  '';

  checkInputs = [ pytestCheckHook baseline ];

  pythonImportsCheck = [ "exif" ];

  meta = with lib; {
    description = "Read and modify image EXIF metadata using Python";
    homepage    = "https://gitlab.com/TNThieding/exif";