depot/third_party/nixpkgs/pkgs/by-name/ph/photini/package.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

48 lines
1.1 KiB
Nix

{
lib,
fetchFromGitHub,
python3Packages,
gitUpdater,
}:
python3Packages.buildPythonApplication rec {
pname = "photini";
version = "2024.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jim-easterbrook";
repo = "Photini";
rev = "refs/tags/${version}";
hash = "sha256-iTaFyQpC585QPInLvFzgk65+Znvb1kTTsrzEQvy1quY=";
};
build-system = with python3Packages; [ setuptools-scm ];
dependencies = with python3Packages; [
pyqt6
pyqt6-webengine
cachetools
appdirs
chardet
exiv2
filetype
requests
requests-oauthlib
requests-toolbelt
pyenchant
gpxpy
keyring
pillow
];
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://github.com/jim-easterbrook/Photini";
changelog = "https://photini.readthedocs.io/en/release-${version}/misc/changelog.html";
description = "An easy to use digital photograph metadata (Exif, IPTC, XMP) editing application";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ zebreus ];
mainProgram = "photini";
};
}