pythonPackages.pexif: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 21:19:28 -04:00 committed by Frederik Rietdijk
parent a3bcd00771
commit 4aec503d81
2 changed files with 22 additions and 15 deletions

View file

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pexif";
version = "0.15";
src = fetchPypi {
inherit pname version;
sha256 = "45a3be037c7ba8b64bbfc48f3586402cc17de55bb9d7357ef2bc99954a18da3f";
};
meta = with stdenv.lib; {
description = "A module for editing JPEG EXIF data";
homepage = http://www.benno.id.au/code/pexif/;
license = licenses.mit;
};
}

View file

@ -3129,21 +3129,7 @@ in {
percol = callPackage ../development/python-modules/percol { };
pexif = buildPythonPackage rec {
name = "pexif-${version}";
version = "0.15";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pexif/pexif-0.15.tar.gz";
sha256 = "45a3be037c7ba8b64bbfc48f3586402cc17de55bb9d7357ef2bc99954a18da3f";
};
meta = {
description = "A module for editing JPEG EXIF data";
homepage = http://www.benno.id.au/code/pexif/;
license = licenses.mit;
};
};
pexif = callPackage ../development/python-modules/pexif { };
pexpect = callPackage ../development/python-modules/pexpect { };