Commit Graph

116 Commits

Author SHA1 Message Date
Felix Scheinost
4552cd2cfa xlsxgrep: drop
Remove xlsxgrep The last update from 0.0.23 to 0.0.29 broke it as it switched from xlrd to pyexcel.

I tried switching to pyexcel but pyexcel-xlsx (for .xlsx support - important) isn't packaged yet.
I tried packaging it but pyexcel-xlsx doesn't seem to be actively maintained anymore and
isn't compatible with the most recent openpyxl version.

I also considered downgrading to 0.0.23 but xlrd is unmaintained and recommends openpyxl.
2024-11-01 17:30:02 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
afee1d56ad xlsxgrep: 0.0.23 -> 0.0.29 2024-08-16 04:19:27 +00:00
Jack Cummings
2920bc8d9f recoll: 1.37.5 -> 1.39.1
switched to meson
  parallel building disabled, as there is a dependency bug somewhere in
   the build scripts
  update homepage
2024-07-31 09:43:48 +00:00
Anderson Torres
9a624d10e3 treewide: remove viric from meta.maintainers [orphans]
Since theey is not active from at least six years.

All the packages on this commit became orphans.

---------------------------------------------------------------------------
There are files not covered by this commit, because they will be adopted
soon. Namely:

- pkgs/by-name/zs/zsync/package.nix
- pkgs/games/bsdgames/default.nix
- pkgs/misc/ghostscript/default.nix
- pkgs/os-specific/linux/kernel/perf/default.nix
- pkgs/tools/system/logrotate/default.nix
2024-07-28 11:48:51 -03:00
R. Ryantm
4053732389 doodle: 0.7.2 -> 0.7.3 2024-06-30 00:21:03 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Frank Doepper
9ec2486208 recoll: wrap rcljoplin.py
rcljoplin.py uses module "recoll", so PYTHONPATH has to be set.

fixes #311619
2024-05-14 16:22:44 +02:00
R. Ryantm
686277819b python311Packages.recoll: 1.37.4 -> 1.37.5 2024-05-03 07:04:26 +00:00
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
Sergei Trofimovich
29a30806ca re-isearch: fix gcc-13 build
Without the change the build fails in `master` as
https://hydra.nixos.org/build/250983051:

    ../src/mmap.cxx:29:19: error: 'SIZE_MAX' was not declared in this scope
       29 | # define MMAP_MAX SIZE_MAX/4L
          |                   ^~~~~~~~
2024-02-25 19:23:56 +00:00
annalee
5e29e79f8b
recoll: don't double wrap executables 2024-02-19 04:47:10 +00:00
annalee
2dfa764fba
recoll: fix darwin build 2024-02-19 04:47:10 +00:00
R. Ryantm
7dfa5ad068 recoll: 1.37.2 -> 1.37.4 2024-02-18 15:50:44 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
R. Ryantm
7278e451df recoll: 1.36.2 -> 1.37.2 2024-02-09 12:33:01 +00:00
Vladimír Čunát
8b2d354abe
recoll: fixup build after libxml2 update 2024-01-11 17:03:06 +01:00
Mario Rodas
3c9e42e351 recoll: fix changelog 2023-12-02 10:20:43 +00:00
R. Ryantm
7084473d63 recoll: 1.36.0 -> 1.36.2 2023-12-02 10:20:43 +00:00
R. Ryantm
16b5253cac recoll: 1.35.0 -> 1.36.0 2023-11-11 10:02:08 +00:00
Emery Hemingway
46475b96c7 recoll: 1.33.4 -> 1.35.0 2023-09-15 10:32:17 +02:00
Adam Joseph
39e7ddaf19 recoll: use catdvi
This adds catdvi as a dependency of recoll.  According to the
comments in recoll, "dvitext no longer works".
2023-09-15 09:55:57 +02:00
Adam Joseph
486cc09058 recoll: simplify --with{out}-inotify expression
This cleanup commit uses `lib.withFeature` to simplify the
expression for recoll's `--with{out}-inotify` flags.
2023-06-17 10:39:28 +01:00
Adam Joseph
d77f9d908e recoll: use wrapProgram to set $PATH for recoll, recollindex
Many recoll filters assume that $PATH contains all their
dependencies.  Our current patching approach is a game of
whack-a-mole, and while we will continue trying to play it we ought
to set the $PATH as well.

This commit eliminates a huge number of extraneous error messages
from recoll's log, making it easier to see the remaining ones which
really matter.
2023-06-08 08:25:05 +01:00
Adam Joseph
8d2530ece4 recoll: factor out dependency list
This commit factors out a long repetitive list of `wrapProgram`
invocations into a Nix list which can be iterated upon for other
purposes.
2023-06-08 08:25:05 +01:00
Adam Joseph
d61bdc7ded recoll: fix cross
This commit fixes cross-compilation of recoll by:

1. Disabling the python module when cross compiling

2. Removing `file` from `nativeBuildInputs`, since it leaks into
   recoll-*.so, and forcing use of the hostPlatform `file` by adding
   the configureFlag that does that.

3. Adding `qtbase` to `nativeBuildInputs` if `withGui`
2023-06-07 21:10:09 +01:00
Adam Joseph
2c5682c927 recoll: add withPython parameter
Cross-compiling the recoll python modules does not work and is not
easy to fix; for now we disable them.
2023-06-07 21:10:09 +01:00
figsoda
8014b08ee0 treewide/applications: use top-level fetchPypi 2023-05-25 10:51:30 -04:00
Artturin
cab4a24c34 treewide: fix lints
Arg to lib.optional is a list

build time tool in buildInputs
2023-03-11 00:55:17 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Emery Hemingway
961892a085 recoll: wrap some input handlers with extra deps 2023-02-12 21:32:48 -06:00
Weijia Wang
3e4d56e155
Merge pull request #208577 from r-ryantm/auto-update/recoll
python310Packages.recoll: 1.33.2 -> 1.33.4
2023-01-23 16:08:23 +01:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Fabian Affolter
26fff39e4f
python310Packages.recoll: add changelog to meta
- specify license
2023-01-04 09:12:48 +01:00
R. Ryantm
34c3093c20 python310Packages.recoll: 1.33.2 -> 1.33.4 2023-01-01 02:40:55 +00:00
Gabriel Arazas
41f4a69fd5 recoll: 1.32.7 -> 1.33.2 2022-12-22 14:01:45 -06:00
Jiajie Chen
4ed7e2a866 recoll: fix no/bad configuration error on darwin
Prior to this fix, running recoll fails with the following error:

No/bad main configuration file in /nix/store/.../Resources/examples.

The path is incorrect and RECOLL_DATADIR should be used.
2022-10-28 11:06:57 +08:00
Karthik Iyengar
20c9a9e87d
Remove kiyengar from maintainers (#187781) 2022-08-21 23:50:03 +02:00
R. Ryantm
a3d5cf1dd2 python310Packages.recoll: 1.32.5 -> 1.32.7 2022-08-16 21:48:46 +00:00
R. Ryantm
177a9e4f15 python310Packages.recoll: 1.32.0 -> 1.32.5 2022-08-02 00:11:29 +00:00
Astro
481ad5b3c3 re-Isearch: init at unstable-2022-03-24 2022-07-19 20:05:55 +02:00
Mario Rodas
c1922f2381 recoll: 1.31.0 -> 1.32.0
https://www.lesbonscomptes.com/recoll/pages/release-1.32.html
2022-05-12 04:20:00 +00:00
Felix Buehler
b52ab3b712 pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
R. RyanTM
4de6fe6a9d python38Packages.recoll: 1.28.6 -> 1.31.0 2021-09-14 10:08:29 +00:00
Felix Buehler
7ea0638338 grepm: deprecate phases 2021-07-14 14:09:53 +02:00
Robert Schütz
346af47879
Merge pull request #118574 from dotlambda/recoll-python
python3Packages.recoll: init
2021-04-08 18:21:06 +02:00
Robert Schütz
af9ea7040c python3Packages.recoll: init
Also move some stuff to recoll's nativeBuildInputs.
2021-04-05 15:08:25 +02:00
Dmitry Kalinkin
97bb239d9d
recoll: drop assert on hostPlatform.system
This was introduced in 05e5f5d5 ('Fix tarball') and no longer serves
the original purpose.
2021-04-04 20:23:56 -04:00
R. RyanTM
7163929cee doodle: 0.7.1 -> 0.7.2 2021-03-14 13:55:45 -04:00