Commit Graph

13 Commits

Author SHA1 Message Date
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
Bjørn Forsman
edd5137105 invoice2data: 0.4.2 -> 0.4.4 2023-11-18 14:56:39 +01:00
Bjørn Forsman
9dee3f84f7 invoice2data: add missing setuptools input
Fixes this fatal error:

  $ invoice2data
  ...
  ModuleNotFoundError: No module named 'pkg_resources'
2023-11-18 14:56:39 +01:00
Theodore Ni
68840afd8f
invoice2data: clean up some build and runtime dependencies 2023-08-12 16:38:19 -07:00
Daniel Albert
4ca42ad0a7
invoice2data: 0.3.6 -> 0.4.2
Update invoice2data to version v0.4.2 [released on 2023-02-11](https://github.com/invoice-x/invoice2data/releases/tag/v0.4.2).

This change also
* Installs `ghostscript`, which is used to convert pdfs to images used as input for tesseract
* Uses tesseract 5 instead of tesseract 3
* Switches from `xpdf` (which is also marked as insecure) to `poppler_utils`, which is the recommended provider of `pdftotext` according to the `invoice2data` repo.
2023-02-15 00:36:56 +01:00
Mario Rodas
4307907d72 python39Packages.pdfminer-six: add alias to pdfminer 2022-05-25 23:47:50 -07:00
Fabian Affolter
92322a1a65 invoice2data: 0.2.93 -> 0.3.6 2021-11-21 13:57:30 +01:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Assassinkin
1ecb4eb4e0 invoice2data: init at 0.2.93 2018-05-30 13:58:34 +01:00