Commit graph

22 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
Martin Weinelt 7ddfd3f64f afew: propagate setuptools, add version test
The dependency on setuptools was removed during a recent refactor, but
afew imports pkg_resources from setuptools, so readd it.

Also add a version test, that executes the cmdline and would've shown
that the CLI fails.

Fixes: #268680
2023-11-21 16:30:48 +01:00
Martin Weinelt ab3c49d803 afew: fix build, use sphinxHook, use pep517 build 2023-11-18 21:36:41 +01:00
Adam Joseph bc2d598878 treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
figsoda 8014b08ee0 treewide/applications: use top-level fetchPypi 2023-05-25 10:51:30 -04:00
Alyssa Ross 2bfa93e01c
treewide: python{ => .pythonForBuild}.interpreter
It won't be enough to fix cross in all cases, but it is in at least
one: pywayland.  I've only made the change in cases I'm confident it's
correct, as it would be wrong to change this when python.interpreter
is used in wrappers, and possibly when it's used for running tests.
2023-02-26 20:26:17 +00:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Andreas Rammhold 31e5b8dc21
Remove myself from maintainers
I don't have time and energy to deal with all of this anymore.
2022-01-20 00:24:52 +01:00
Sandro Jäckel 89d5f4b3d0
treewide: setuptools_scm -> setuptools-scm 2021-06-03 12:44:33 +02:00
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +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
Alvar Penning 84ba84dc10 afew: 3.0.0 -> 3.0.1 2020-10-12 14:34:00 +02:00
Andreas Rammhold 6ca94ab1ea
Merge pull request #82206 from flokli/afew-3.0.0
afew: 2.0.0 -> 3.0.0
2020-05-05 21:06:50 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Florian Klink 906dccf595 afew: 2.0.0 -> 3.0.0
MailMover: many fixes

  Previously, MailMover didn't properly preserve flags when renaming files, and
  moved all mail to `cur`. This was fixed. Also, MailMover gained a test suite.

New filters: PropagateTags[ByRegex]InThreadFilter

  These filters allow propagating tags set to a message to the whole thread.

New command line argument: --notmuch-args= in move mode

  In move mode, afew calls `notmuch new` after moving mails around. This
  prevents `afew -m` from being used in a pre-new hook in `notmuch`.

  Now it's possible to specify notmuch args, so something like `afew -m
  --notmuch-args=--no-hooks` can live happily in a pre-new hook.

Python 3.4 and 3.5 support dropped

  afew stopped supporting the older python versions 3.4 and 3.5, and removed
  some more Python 2 compatibility code. (`from __future__ import …`, utf-8
  headers, relative imports, …)
2020-03-10 02:27:25 +01:00
Frederik Rietdijk 92a57ed7f1 afew: use python3 2019-11-13 16:27:38 +01:00
Florian Klink acd7c02ea9 afew: propagate setuptools 2019-09-22 16:15:59 +02:00
Rok Garbas 65781e204d
Remove me (garbas) as maintainer since I don't have much time to maintain anything 2019-07-03 11:27:39 +02:00
Florian Klink dc1228d1b1 afew: 1.3.0 -> 2.0.0 2019-06-16 12:03:01 +02:00
Uli Baum 541b2413b4 afew: add manpage
Generate the manpage which was previously missing.
2018-09-14 20:01:59 +02:00
Florian Klink 1cc8ea4ec9 afew: 1.2.0 -> 1.3.0 2018-02-07 00:30:16 +01:00
Florian Klink 5f03d6bf4d afew: rewrite expression
it's an application, not a python module

Also, remove name attribute.
Build with python 3 by default.

afew: make setuptools_scm a buildInput

afew: don't set SETUPTOOLS_SCM_PRETEND_VERSION anymore

we fetch from pypi, with version info properly set, so this shouldn't be
an issue.

afew: set license

afew: add notmuch binary to PATH

it seems afew calls "notmuch new" in MailMover.py

afew: don't set LD_LIBRARY_PATH

the library is already hardcoded pythonPackages.notmuch's globals.py
2018-01-20 13:48:24 +01:00