Commit graph

7 commits

Author SHA1 Message Date
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
Maximilian Bosch e7d1be840c
treewide: remove maintainership of ma27 from a few packages
Those are packages I don't use anymore for a longer time and I therefore
don't think that listing me as maintainer is a good idea. If those
should be removed now, I'd be fine with that.

SuperSandro2000 will take care of a few packages[1].

[1] https://github.com/NixOS/nixpkgs/pull/108126#pullrequestreview-560599381
2021-01-01 19:48:01 +01:00
Maximilian Bosch 80aab0ba4a
python3Packages.yowsup: 2.5.7 -> 3.2.3
Introduced several new dependencies, including `dissononce`[1] and
`consonance`[2].

See also: https://github.com/tgalal/yowsup/blob/master/CHANGELOG.md#323-2019-05-07

[1] d170246aae
[2] d8d34797d7
2019-12-05 21:03:06 +01:00
Maximilian Bosch cf50edf583
python3Packages.yowsup: 2.5.2 -> 2.5.7
The latest update of `yowsup` (https://github.com/tgalal/yowsup/releases/tag/v2.5.7)
contains the following fixes:

* Updated tokens
* Fixed tgalal/yowsup#1842: Bug in protocol_groups RemoveGroupsNotificationProtocolEntity
* Other minor bug fixes

The `argparse-dependency.patch` required a rebase onto the latest
version of `setup.py` and ensures that `argparse` won't be needed as
extra dependency as our `python3` package ships `argparse` by default.

A short note to Python 2 support:

the actual issue related to Python 2.x support has been resolved
(https://github.com/tgalal/yowsup/issues/2325#issuecomment-354533727),
however this relies on `six==1.10` which isn't support by `nixpkgs` as
`six` has been bumped to `1.11`. When trying to inject a patched version
of our `six` package based on `six==1.10` you'll run into issues with
duplicated libraries in your closure as further build dependencies
(`pytest` in this case) use the latest `six` version. As Python 2.7 will
die in 2020 (https://pythonclock.org/) and patching around in the
dependencies of `pytest` to get `yowsup` running isn't worth the effort
in my opinion I decided to keep the Python 2.x build disabled for now.
2018-05-04 09:09:59 +02:00
Maximilian Bosch 14c13ed390
pythonPackages.yowsup: disable python2 build
I'm not exactly sure why, but it seems as the python2 build
of yowsup is breaking.
see https://github.com/tgalal/yowsup/issues/2325

It seems to be recommended to use python3 for building and disable
the usage of python2 which fixed the build.
2017-11-11 09:46:11 +01:00
Maximilian Bosch eef496f01c pythonPackages.yowsup: init at v2.5.2 (#30406)
* pythonPackages.yowsup: init at v2.5.2

* python.pkgs.yowsup: fix tests
2017-10-14 10:54:59 +01:00