Merge pull request #25563 from jluttine/add-piexif
pythonPackages.piexif: init at 1.0.12
This commit is contained in:
commit
8b647e991f
|
@ -0,0 +1,24 @@
|
||||||
|
{lib, buildPythonPackage, fetchurl, pillow}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "piexif";
|
||||||
|
version = "1.0.12";
|
||||||
|
|
||||||
|
# pillow needed for unit tests
|
||||||
|
buildInputs = [ pillow ];
|
||||||
|
|
||||||
|
# No .tar.gz source available at PyPI, only .zip source, so need to use
|
||||||
|
# fetchurl because fetchPypi doesn't support .zip.
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.zip";
|
||||||
|
sha256 = "15dvdr7b5xxsbsq5k6kq8h0xnzrkqzc08dzlih48a21x27i02bii";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Simplify Exif manipulations with Python";
|
||||||
|
homepage = https://github.com/hMatoba/Piexif;
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ jluttine ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -18353,6 +18353,8 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
piexif = callPackage ../development/python-modules/piexif { };
|
||||||
|
|
||||||
pip = buildPythonPackage rec {
|
pip = buildPythonPackage rec {
|
||||||
pname = "pip";
|
pname = "pip";
|
||||||
version = "9.0.1";
|
version = "9.0.1";
|
||||||
|
|
Loading…
Reference in New Issue