1{ stdenv, buildPythonPackage, fetchPypi, pillow }:
2
3buildPythonPackage rec {
4 pname = "piexif";
5 version = "1.1.2";
6
7 # Pillow needed for unit tests
8 checkInputs = [ pillow ];
9
10 src = fetchPypi {
11 inherit pname version;
12 extension = "zip";
13 sha256 = "0dj6wiw4mk65zn7p0qpghra39mf88m3ph2xn7ff9jvasgczrgkb0";
14 };
15
16 meta = with stdenv.lib; {
17 description = "Simplify Exif manipulations with Python";
18 homepage = https://github.com/hMatoba/Piexif;
19 license = licenses.mit;
20 maintainers = with maintainers; [ jluttine ];
21 };
22}