If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
26 lines
537 B
Nix
26 lines
537 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "exifread";
|
|
version = "3.0.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "ExifRead";
|
|
inherit version;
|
|
hash = "sha256-CsWjZBadvfK9YvlPXAc5cKtmlKMWYXf15EixDJQ+LKQ=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Easy to use Python module to extract Exif metadata from tiff and jpeg files";
|
|
mainProgram = "EXIF.py";
|
|
homepage = "https://github.com/ianare/exif-py";
|
|
license = licenses.bsd0;
|
|
maintainers = [ ];
|
|
};
|
|
}
|