Commit Graph

14 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Pavel Sobolev
4828a8f149
mecab: remove paveloom from maintainers 2024-01-13 15:53:38 +00:00
Randy Eckenrode
1fef1d87bb
mecab: fix build with clang 16
Force the language mode to C++14. mecab-nodic uses several features that
have been removed from C++17.
2023-11-04 18:10:06 -04:00
Peder Bergebakken Sundt
fb1c60b65a
Merge pull request #262224 from chayleaf/tsja
postgresqlPackages.tsja: init at 0.5.0
2023-10-27 19:53:14 +02:00
Duc Nghiem-Xuan
725d62079c mecab: add libiconv as buildInputs
#257480 added utf8 support but mecab depends on libiconv to convert between
charsets. Thus, on MacOS it doesn't works
2023-10-24 17:39:04 +09:00
chayleaf
a190bf43b6 mecab: expose mecab-ipadic in $out 2023-10-20 14:40:47 +07:00
Pavel Sobolev
a5d66a9fab
mecab: add support for the UTF-8 charset 2023-09-26 22:41:29 +03:00
Pavel Sobolev
3042d6245b
mecab: refactor 2023-09-26 22:41:10 +03:00
Felix Buehler
22dffe27f3 pkgs/tools: use pname&version instead of name 2021-11-30 21:11:29 +01: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
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Jonathan Glines
8199cda762 mecab: init at 0.996 (#16175)
Japanese morphological analysis system, used by Anki in particular
2016-06-26 22:47:23 +02:00