Commit Graph

16 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
R. Ryantm
546a42df3c mwic: 0.7.9 -> 0.7.10 2023-03-04 09:24:39 +00:00
R. Ryantm
76b4cb35c1 mwic: 0.7.8 -> 0.7.9 2022-07-29 01:25:12 +00: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
Anders Kaseorg
e3f022fa21 mwic: Fix Python wrapping
Fixes this error when mwic is installed with nix-env:

$ mwic
Traceback (most recent call last):
  File "/home/anders/.nix-profile/bin/mwic", line 30, in <module>
    import lib.cli  # pylint: disable=wrong-import-position
  File "/nix/store/zn9jli2v7znh6w6rpkjp6w0iz3na79yz-mwic-0.7.8/share/mwic/lib/cli.py", line 32, in <module>
    import enchant.tokenize
ModuleNotFoundError: No module named 'enchant'

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-08-10 16:09:31 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthias Beyer
2bac62079e mwic: 0.7.7 -> 0.7.8 2020-04-02 13:31:49 +02: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
Matthias Beyer
f1f4f38909 Revert "Remove maintainership"
I'm baaaaack!

This patch reverts my patch where I removed myself as maintainer because
of my traveling. I'm back now and I want to maintain these packages
again.

This reverts commit ce1c1e3093.
2019-02-20 19:57:34 +01:00
R. RyanTM
4dc0adcb59 mwic: 0.7.6 -> 0.7.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mwic/versions
2018-11-19 01:09:04 -08:00
R. RyanTM
965836aada mwic: 0.7.5 -> 0.7.6 (#46995)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mwic/versions
2018-09-23 22:36:37 +02:00
R. RyanTM
7ce53bee97 mwic: 0.7.4 -> 0.7.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/mwic/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.7.5 with grep in /nix/store/3r91cbyw9xi6iy67l5nalznb7rkq1idq-mwic-0.7.5
- directory tree listing: https://gist.github.com/0513e07e310449f5f9f06de443e90f43
2018-04-30 14:42:45 -07:00
Matthias Beyer
ce1c1e3093 Remove maintainership
With this patch I remove myself as a maintainer for all packages I
currently maintain.

This is due the fact that I will be basically off the grid from May 2018
until early 2019, as I will be on a trip through north america.

I will revert this patch as soon as I'm back, as I plan to continue
contributing to nixpkgs then.
But as I cannot maintain anything during that time, I'd like to get this
patch merged.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-04-06 10:57:19 +02:00
Matthias Beyer
6cefe6bc57 mwic: 0.7.3 -> 0.7.4 2018-02-21 14:11:06 +01:00
Matthias Beyer
24e16e61c9 mwic: 0.7.2 -> 0.7.3 2017-04-26 09:53:53 +02:00
Matthias Beyer
bfe1d74eb8 mwic: init at 0.7.2 (#23183)
* mwic: init at 0.7.2

* mwic: use makefile instead
2017-02-26 09:43:39 +01:00