python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / office / bookletimposer / default.nix
blob806a9f76addf88ad9bf76b5492799070b69d7c04
1 { lib
2 , fetchFromGitLab
3 , python3
4 , intltool
5 , pandoc
6 , gobject-introspection
7 , wrapGAppsHook
8 , gtk3
9 }:
11 python3.pkgs.buildPythonApplication rec {
12   pname = "bookletimposer";
13   version = "0.3.1";
15   src = fetchFromGitLab {
16     domain = "git.codecoop.org";
17     owner = "kjo";
18     repo = "bookletimposer";
19     rev = version;
20     sha256 = "sha256-AEpvsFBJfyqLucC0l4AN/nA2+aYBR50BEgAcNDJBSqg=";
21   };
23   patches = [
24     ./i18n.patch
25     ./configdir.patch
26   ];
28   nativeBuildInputs = [ intltool pandoc wrapGAppsHook ];
30   buildInputs = [ gobject-introspection ];
32   propagatedBuildInputs = [
33      gtk3
34      (python3.withPackages (ps: with ps; [ distutils_extra pypdf2 pygobject3 ]))
35   ];
37   meta = {
38     homepage = "https://kjo.herbesfolles.org/bookletimposer/";
39     description = "A utility to achieve some basic imposition on PDF documents, especially designed to work on booklets";
40     platforms = lib.platforms.linux;
41     license = "GPL-3.0-or-later";
42     maintainers = with lib.maintainers; [ afontain ];
43   };