Merge pull request #247536 from sund3RRR/conjure-init

conjure: init at 0.1.2
This commit is contained in:
Emily 2023-08-12 13:21:08 +02:00 committed by GitHub
commit 69655f52ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,71 @@
{ fetchFromGitHub
, gobject-introspection
, lib
, libadwaita
, python3Packages
, wrapGAppsHook
, meson
, ninja
, desktop-file-utils
, pkg-config
, appstream-glib
, gtk4
}:
python3Packages.buildPythonApplication rec {
pname = "conjure";
version = "0.1.2";
format = "other";
src = fetchFromGitHub {
owner = "nate-xyz";
repo = "conjure";
rev = "v${version}";
hash = "sha256-qWeqUQxTTnmJt40Jm1qDTGGuSQikkurzOux8sZsmDQk=";
};
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook
desktop-file-utils
appstream-glib
meson
ninja
pkg-config
gtk4
];
buildInputs = [
libadwaita
];
propagatedBuildInputs = with python3Packages; [
pygobject3
loguru
wand
];
nativeCheckInputs = with python3Packages; [
pytest
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = with lib; {
description = "Magically transform your images";
longDescription = ''
Resize, crop, rotate, flip images, apply various filters and effects,
adjust levels and brightness, and much more. An intuitive tool for designers,
artists, or just someone who wants to enhance their images.
Built on top of the popular image processing library, ImageMagick with python
bindings from Wand.
'';
homepage = "https://github.com/nate-xyz/conjure";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ sund3RRR ];
};
}

View File

@ -3548,6 +3548,8 @@ with pkgs;
codux = callPackage ../applications/editors/codux { };
conjure = callPackage ../applications/graphics/conjure { };
coolreader = libsForQt5.callPackage ../applications/misc/coolreader { };
corsair = with python3Packages; toPythonApplication corsair-scan;