Commit Graph

52 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
f620fe2da0
buku: use pep517 builder 2023-12-20 20:46:26 +01:00
Maximilian Bosch
2ee12a93de treewide: remove myself (ma27) from a few packages
It's time again, I guess :>

Main motivation is to stop being pinged about software that I maintained
for work now that I'm about to switch jobs. There's no point in pinging
me to review/test updates or to debug issues in e.g. the Atlassian stack
or on mailman since I use neither personally.

But there's also a bunch of other stuff that I stopped using personally. While
at it I realized that I'm still maintainer of a few tests & modules related to
packages I stopped maintaining in the past already.
2023-10-18 15:47:20 -03:00
Sebastián Zaffarano
72f04d624c
buku: 4.7 -> 4.8 2023-04-25 18:47:44 +02: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
Anthony Roussel
61a1465e26 buku: fix check inputs and remove PYTHONIOENCODING hack
PYTHONIOENCODING hack is not needed anymore
2022-08-04 22:39:22 +02:00
Anthony Roussel
86a160ea18 buku: fix build failing for bukuserver
SQLAlchemy-Utils v0.36.6 package override build is failing.

This is due to a patch in the original SQLAlchemy-Utils package which
broke the build of this package override:

```bash
> applying patch /nix/store/pd6anhwbf0in3r3jhi3sbn5v2fjs0mf2-skip-database-tests.patch
> patching file conftest.py
> Hunk #1 FAILED at 61.
> Hunk #2 succeeded at 98 (offset -10 lines).
```

These SQLAlchemy package overrides were originaly added to fix
incompatibilities with Flask-Admin.

See commit 05ae01fcea

However with Flask-Admin >= v1.5.6, several SQLAlchemy compatibility patches were added:
* https://flask-admin.readthedocs.io/en/latest/changelog/

We can now safely remove these package overrides to make bukuserver work again.
2022-08-04 21:53:58 +02:00
Maximilian Bosch
41558f0227
buku: 4.6 -> 4.7
ChangeLog: https://github.com/jarun/buku/releases/tag/v4.7
2022-07-23 06:39:45 +02:00
Robert Schütz
c88d7fb859 python3Packages.flask-wtf: 1.0.0 -> 1.0.1
Also change attribute name from flask_wtf to flask-wtf.
2022-05-24 04:13:39 +00:00
Martin Weinelt
2d1e788f60 buku: update sqlalchemy hash 2022-04-15 01:39:55 +02:00
arcnmx
555111f1a9 buku: remove problematic test dependencies 2022-01-22 12:00:43 -08:00
arcnmx
e14ce3e49a buku: make bukuserver optional
bukuserver (an optional web GUI frontend for buku) depends on a large
number of flask packages, which break in nixpkgs very often.
2022-01-22 10:19:10 -08:00
Matthieu Coudron
daa29dd4b8
Merge pull request #131140 from Ma27/bump-buku
buku: fix build, 4.5 -> 4.6
2021-07-23 00:25:28 +02:00
Maximilian Bosch
b47a854419
buku: 4.5 -> 4.6
ChangeLog: https://github.com/jarun/buku/releases/tag/v4.6
2021-07-22 23:21:28 +02:00
Maximilian Bosch
05ae01fcea
buku: fix build
Failing Hydra build: https://hydra.nixos.org/build/148285785

The underlying issue is `flask-admin` not working with newer versions of
`SQLAlchemy` and `SQLAlchemy-Utils`[1].

I decided to only fix `buku` now since this is the package I wanted to
take care of initially. Also, multiple versions of python packages - a
measure that would be necessary for `flask-admin` - are generally
discouraged[2].

[1] 1.5.8 works with `SQLAlchemy`, but is broken with `SQLAlchemy-Utils`
    at 0.37, see also https://github.com/flask-admin/flask-admin/issues/2113
[2] https://github.com/NixOS/nixpkgs/pull/127707
2021-07-22 23:16:10 +02:00
Sandro Jäckel
4209fed914
pythonPackages: deprecate pytestcov alias 2021-07-21 13:32:17 +02:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Sandro
5faf6b7db6
Merge pull request #109022 from sikmir/buku
buku: enable on darwin
2021-01-11 17:47:47 +01:00
Nikolay Korotkiy
56bec3c895
buku: enable on darwin 2021-01-11 18:01:11 +03: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
R. RyanTM
e5be5fbb71 buku: 4.4 -> 4.5 2020-12-30 02:49:57 +00:00
Edmund Wu
af36ff22ea
buku: 4.3 -> 4.4 2020-06-23 15:54:44 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthias Beyer
b9b3cdf058 buku: 4.2.2 -> 4.3
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-04-07 12:18:22 -07:00
Robin Stumm
83c24adfca buku: fix bukuserver
add missing python module `flask-admin`
2019-12-01 20:30:51 +01:00
Frederik Rietdijk
5e8be2fb84 mypy: add missing dep, rename mypy_extensions to mypy-extensions 2019-10-27 16:26:55 +01:00
arcnmx
81da9275c5 buku: relax mypy-extensions version req 2019-10-24 07:01:21 -07:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
R. RyanTM
97ae1b609e buku: 4.2 -> 4.2.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/buku/versions
2019-06-01 01:02:06 -07:00
Will Dietz
357239577f buku: 4.1 -> 4.2 (#61564)
* buku: 4.1 -> 4.2

* buku: fix install tests
2019-05-16 20:44:00 +02: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
Christian Kögler
ad7591c3ff buku: 3.8 -> 4.1 2019-01-28 21:30:14 +01:00
Silvan Mosberger
dce1332c5a
buku: 3.7 -> 3.8 2018-08-20 00:14:56 +02:00
Robert Schütz
6713108307 buku: fix build
Loosen pytest version constraint by applying
495d6eac4d.
2018-04-08 11:36:05 +02: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
Ryan Mulligan
8fec3e37ec buku: 3.6 -> 3.7
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

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

These checks were done:

- built on NixOS
- ran `/nix/store/xhqxppgivy66mf4v46acf4p9qzqrnfhs-buku-3.7/bin/.buku-wrapped -h` got 0 exit code
- ran `/nix/store/xhqxppgivy66mf4v46acf4p9qzqrnfhs-buku-3.7/bin/.buku-wrapped --help` got 0 exit code
- ran `/nix/store/xhqxppgivy66mf4v46acf4p9qzqrnfhs-buku-3.7/bin/.buku-wrapped -h` and found version 3.7
- ran `/nix/store/xhqxppgivy66mf4v46acf4p9qzqrnfhs-buku-3.7/bin/.buku-wrapped --help` and found version 3.7
- ran `/nix/store/xhqxppgivy66mf4v46acf4p9qzqrnfhs-buku-3.7/bin/buku -h` got 0 exit code
- ran `/nix/store/xhqxppgivy66mf4v46acf4p9qzqrnfhs-buku-3.7/bin/buku --help` got 0 exit code
- ran `/nix/store/xhqxppgivy66mf4v46acf4p9qzqrnfhs-buku-3.7/bin/buku -h` and found version 3.7
- ran `/nix/store/xhqxppgivy66mf4v46acf4p9qzqrnfhs-buku-3.7/bin/buku --help` and found version 3.7
- found 3.7 with grep in /nix/store/xhqxppgivy66mf4v46acf4p9qzqrnfhs-buku-3.7
- directory tree listing: https://gist.github.com/231e0667743da0993083d1dd37c787b7
2018-03-30 10:15:05 +01:00
Matthias Beyer
a8d4d996c1 buku: 3.4 -> 3.6
Some more tests were disabled as they require internet connection.
The tests were disabled by simply removing the "assertEqual" statements,
as this is the simplest way to do it.
2018-02-21 13:58:21 +01:00
Johannes Frankenau
b2f199404f
buku: 3.3.1 -> 3.4 2017-10-28 11:41:46 +02:00
Matthias Beyer
678c149e53 buku: 3.0 -> 3.3.1 2017-09-13 21:44:49 +02:00
Frederik Rietdijk
61da59858c buku: python3 as parameter instead of python 2017-08-25 19:36:19 +02:00
Silvan Mosberger
ab162eeffc buku: added not to remove line on next version 2017-06-30 14:47:55 +02:00
Silvan Mosberger
bc81760a92 buku: test & completions revision 2017-06-29 20:38:14 +02:00
Silvan Mosberger
fb62250664 buku: Enabled tests and added shell completion 2017-06-29 16:19:24 +02:00
Johannes Frankenau
3107f33c9d buku: 2.9 -> 3.0 2017-06-29 09:47:49 +02:00
Frederik Rietdijk
ef4442e827 Python: replace requests2 with requests tree-wide
See f63eb58573

The `requests2` attribute now throws an error informing that `requests`
should be used instead.
2017-05-07 12:56:09 +02:00
Silvan Mosberger
c2a0f2584a
buku: 2.8 -> 2.9 2017-04-08 08:56:35 +02:00
Matthias Beyer
1017489b96 buku: 2.7 -> 2.8 2017-02-15 13:33:43 +01:00
Matthias Beyer
6587d6bf1d buku: 2.5 -> 2.7 2017-01-04 16:29:33 +01:00
Edward Tjörnhammar
d6f1c52735
buku: 2.4 -> 2.5 2016-10-21 08:00:18 +02:00
guaraqe
571d51387c buku: 1.9 -> 2.4 2016-09-26 03:16:58 +02:00