Files
nixpkgs/pkgs/development/python-modules/exifread/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

25 lines
533 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "exifread";
version = "3.0.0";
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 = with maintainers; [ ];
};
}