mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
pythonPackages.exifread: refactor move to python-modules
This commit is contained in:
parent
16dc45288e
commit
18c345dfaa
22
pkgs/development/python-modules/exifread/default.nix
Normal file
22
pkgs/development/python-modules/exifread/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ExifRead";
|
||||||
|
version = "2.1.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1b90jf6m9vxh9nanhpyvqdq7hmfx5iggw1l8kq10jrs6xgr49qkr";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Easy to use Python module to extract Exif metadata from tiff and jpeg files";
|
||||||
|
homepage = "https://github.com/ianare/exif-py";
|
||||||
|
license = licenses.bsd0;
|
||||||
|
maintainers = with maintainers; [ vozz ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -2358,21 +2358,7 @@ in {
|
||||||
|
|
||||||
eventlet = callPackage ../development/python-modules/eventlet { };
|
eventlet = callPackage ../development/python-modules/eventlet { };
|
||||||
|
|
||||||
exifread = buildPythonPackage rec {
|
exifread = callPackage ../development/python-modules/exifread { };
|
||||||
name = "ExifRead-2.1.2";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Easy to use Python module to extract Exif metadata from tiff and jpeg files";
|
|
||||||
homepage = "https://github.com/ianare/exif-py";
|
|
||||||
license = "BSD";
|
|
||||||
maintainers = with maintainers; [ vozz ];
|
|
||||||
};
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/E/ExifRead/${name}.tar.gz";
|
|
||||||
sha256 = "1b90jf6m9vxh9nanhpyvqdq7hmfx5iggw1l8kq10jrs6xgr49qkr";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
fastimport = callPackage ../development/python-modules/fastimport { };
|
fastimport = callPackage ../development/python-modules/fastimport { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue