cardimpose: init at 0.2.1

This commit is contained in:
Adam Dinwoodie
2024-12-09 22:20:25 +00:00
parent 79279db44a
commit bd336fa0a6
3 changed files with 40 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
{ python3Packages }: python3Packages.toPythonApplication python3Packages.cardimpose
@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pymupdf,
}:
buildPythonPackage rec {
pname = "cardimpose";
version = "0.2.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-7GyLTUzWd9cZ8/k+0FfzKW3H2rKZ3NHqkZkNmiQ+Tec=";
};
build-system = [ setuptools ];
dependencies = [ pymupdf ];
meta = {
mainProgram = "cardimpose";
description = "Library for imposing PDF files";
longDescription = ''
Cardimpose is a Python library that makes it easy to arrange multiple
copies of a PDF on a larger document, perfect for scenarios like printing
business cards. The library lets you customize your layout while adding
crop marks and comes with a handy command line tool.
'';
homepage = "https://github.com/frsche/cardimpose";
license = lib.licenses.agpl3Only;
platforms = pymupdf.meta.platforms;
badPlatforms = pymupdf.meta.badPlatforms or [ ];
maintainers = [ lib.maintainers.me-and ];
};
}
+2
View File
@@ -2056,6 +2056,8 @@ self: super: with self; {
carbon = callPackage ../development/python-modules/carbon { };
cardimpose = callPackage ../development/python-modules/cardimpose { };
cart = callPackage ../development/python-modules/cart { };
cartopy = callPackage ../development/python-modules/cartopy { };