pythonPackages.thumborPexif: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 13:02:56 -04:00
parent 246bf6c54d
commit b9ad8d843d
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 24 additions and 15 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
}:
buildPythonPackage rec {
pname = "thumbor-pexif";
version = "0.14";
disabled = ! isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "715cd24760c7c28d6270c79c9e29b55b8d952a24e0e56833d827c2c62451bc3c";
};
meta = with stdenv.lib; {
description = "Module to parse and edit the EXIF data tags in a JPEG image";
homepage = http://www.benno.id.au/code/pexif/;
license = licenses.mit;
};
}

View File

@ -4391,21 +4391,7 @@ in {
thumbor = callPackage ../development/python-modules/thumbor { };
thumborPexif = self.buildPythonPackage rec {
name = "thumbor-pexif-0.14";
disabled = ! isPy27;
src = pkgs.fetchurl {
url = "mirror://pypi/t/thumbor-pexif/${name}.tar.gz";
sha256 = "715cd24760c7c28d6270c79c9e29b55b8d952a24e0e56833d827c2c62451bc3c";
};
meta = {
description = "Module to parse and edit the EXIF data tags in a JPEG image";
homepage = http://www.benno.id.au/code/pexif/;
license = licenses.mit;
};
};
thumborPexif = callPackage ../development/python-modules/thumborpexif { };
pync = buildPythonPackage rec {
version = "1.4";