Commit Graph

68 Commits

Author SHA1 Message Date
Robert Schütz
9787a44e4e khal: modernize 2024-10-13 18:58:08 -07:00
Robert Schütz
6cb9e538e5 khal: pin icalendar at 5.0.13 2024-10-13 18:55:09 -07:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Fabian Affolter
da9a22c1f6 khal: 0.11.2 -> 0.11.3
Diff: https://github.com/pimutils/khal/compare/refs/tags/v0.11.2...v0.11.3

Changelog: https://github.com/pimutils/khal/releases/tag/v0.11.3
2024-02-13 14:14:42 +01:00
Fabian Affolter
949cb6aaaf khal: clean-up 2024-01-29 09:57:45 +01:00
Fabian Affolter
001dfac4c8 khal: override urwid 2024-01-24 13:11:11 +01:00
Fabian Affolter
9038698213 khal: refactor 2024-01-24 13:06:25 +01:00
Martin Weinelt
8056f9250c
treewide: remove redundant SETUPTOOLS_SCM_PRETEND_VERSION usage
The setuptools-scm packages gained a setup hook, that sets it to the
derivation version automatically, so setting it to that manually has
become redundant.

This also affects downstream consumers of setuptools-scm, like hatch-vcs
or flit-scm.
2023-12-20 20:16:39 +01:00
Jonathan Wilkins
6224235f2b
khal: no longer broken on Darwin
This builds for me on aarch64 Darwin, unsure about x86_64.
2023-11-28 09:53:43 +00:00
Theodore Ni
df59f94119
python310Packages.sphinxcontrib-newsfeed: rename from sphinxcontrib_newsfeed 2023-10-26 23:05:14 +09:00
Arjan Schrijver
3dac2557ff khal: 0.11.1 -> 0.11.2
Changelog: https://github.com/pimutils/khal/releases/tag/v0.11.2
Diff: https://github.com/pimutils/khal/compare/v0.11.1...v0.11.2
2023-06-08 09:27:40 +02:00
wrvsrx
693e831f4f
khal: change dependency vdirsyncer from application to module
If we override khal with another python version, its dependencies should
also be built with another python version. If we use application rather
than module, python version will be fixed.
2023-05-26 15:22:27 +08:00
Lucas Hoffmann
5afaa90a00 khal: 0.10.5 -> 0.11.1 2023-04-23 22:27:37 +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
aktaboot
c98e2e13da khal: fix build failure 2022-12-29 11:15:35 +01:00
Fabian Affolter
5f78f8116e khal: add patch for pytz support 2022-10-01 00:01:13 +02:00
Gabriel Ebner
91e18cd7cd khal: fix fish/zsh completion 2022-09-03 11:56:49 +02:00
Sandro Jäckel
2e572b45ae khal: disable timing based test 2022-07-21 22:35:29 +02:00
Arjan Schrijver
f4b3fb0703 khal: 0.10.4 -> 0.10.5 2022-07-02 14:19:27 +02:00
Rick van Schijndel
37c633f7ae treewide: pkgs/applications: mark broken for darwin 2022-05-29 10:56:04 +02:00
R. RyanTM
3023b200a2 khal: 0.10.3 -> 0.10.4 2021-08-15 00:19:09 +00:00
Sandro Jäckel
703c108472
pythonPackages: deprecate requests_toolbelt alias 2021-07-21 13:32:53 +02:00
Gabriel Ebner
b178879a35
Merge pull request #128942 from sumnerevans/fix-khal-build
khal: disable failing tests and cleanup test logic
2021-07-04 10:16:44 +02:00
Robert Schütz
1ec5651913 treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutil 2021-07-03 13:45:57 +02:00
Sumner Evans
fe28c6aed6
khal: disable failing tests and cleanup test logic
Closes #128751
2021-07-02 00:34:38 -06:00
Sandro Jäckel
89d5f4b3d0
treewide: setuptools_scm -> setuptools-scm 2021-06-03 12:44:33 +02:00
Kerstin Humm
7e47f02dcc
khal: 0.10.2 -> 0.10.3 2021-04-27 21:06:06 +02: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
Sandro Jäckel
90107fd05b
khal: Disable failing tests 2020-12-08 04:39:09 +01:00
Gabriel Ebner
539d37ec6b khal: 0.10.1 -> 0.10.2 2020-08-16 17:54:16 +02:00
Rok Garbas
69bac39af7
khal: fix test (#85811) 2020-04-24 12:33:30 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch
a6d0b81d28
khal: fix build
* `glibcLocales` (+appropriate locale settings) are needed to fix
  locale/language-related errors in the `checkPhase`.
* The `test_editor.test_popup`-testcase appears to break in
  their testsuite. I confirmed manually that the functionality works, the
  error looks more like a problem related to the mocking-api. Thus I
  disabled the test for now.

https://hydra.nixos.org/build/109705657

Closes #76989
2020-01-06 17:41:44 +01:00
Will Dietz
2c50765a66
khal: fix build, help find sphinxcontrib_newsfeed
This isn't pretty but seems to do the job, improvements very welcome :)

An alternative approach (untested) would be buiding man pages separately
and linking them into a unified result. FWIW.
2019-10-23 12:07:53 -05:00
Will Dietz
6aea2ab7fa
khal: patch using upstream commit adding khal.desktop 2019-08-20 00:45:40 -05:00
Will Dietz
a38c5118d4
khal: also install khal.desktop 2019-08-20 00:44:59 -05:00
Will Dietz
8ebb3d8692
khal: build and install man page 2019-08-19 13:26:08 -05:00
Will Dietz
d4f172c87f khal: disable tests on aarch64 2019-03-31 12:08:46 -05:00
Will Dietz
4f62e1bb0c khal: 0.10.0 -> 0.10.1 2019-03-31 12:06:39 -05:00
Will Dietz
c8fa1272c6 khal: no need to set LC_ALL, python build bits do this. 2019-03-25 23:17:14 -05:00
Will Dietz
ad91dca851 khal: 0.9.10 -> 0.10.0
https://github.com/pimutils/khal/releases/tag/v0.10.0

* new dep, click-log
* enable tests (pass!)

Release notes mention 'only dateutil < 2.7 is supported',
which may be a problem as ours is currently 2.8.

There's a history of python-dateutil version particularity
in previous releases (such as 0.9.10 upgrading from),
unsure if should override to older or if it's just a suggestion.
2019-03-25 22:36:42 -05:00
Jascha Geerds
ffedc3e4a9 misc: Remove myself from list of maintainers
Unfortunately I don't have the time anymore to maintain those
packages.
2019-03-12 23:50:52 +01:00
Gabriel Ebner
f129ed25a0 khal: fix build
Upgrading icalendar to 4.0.3 broke the pinned dateutil version.
Luckily khal 0.9.10 now works with dateutil 2.7, so we no longer need to
override it.  However now one test in khal fails (the string output
changed from icalendar 4.0.2 to 4.0.3)...
2018-10-30 18:32:35 +01:00
R. RyanTM
0c667e8ba7 khal: 0.9.9 -> 0.9.10
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/khal/versions
2018-10-14 08:59:45 +02:00
Matthieu Coudron
61df695f65 khal: add zsh completion 2018-09-04 19:27:47 +09:00
Robert Schütz
12cf9f7eda khal: pin python-dateutil==2.6.1 2018-06-29 19:28:18 +02:00
Patrick Hilhorst
0415710a5d treewide: removed name from a few pythonpackages defining pname and version 2018-06-07 18:06:25 +02:00
R. RyanTM
21155d586f khal: 0.9.8 -> 0.9.9 (#41267)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9/bin/.ikhal-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9/bin/ikhal had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9/bin/.khal-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9/bin/khal had a zero exit code or showed the expected version
- 0 of 4 passed binary check by having a zero exit code.
- 0 of 4 passed binary check by having the new version present in output.
- found 0.9.9 with grep in /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9
- directory tree listing: https://gist.github.com/a146a88f248f45c280a17c50a0d46b79
- du listing: https://gist.github.com/72d0555178317dce9c07ab814f13f512
2018-05-31 01:18:24 +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
Matthias Beyer
64cf206745 khal: 0.9.7 -> 0.9.8 2017-10-31 16:27:23 +01:00