Commit Graph

26 Commits

Author SHA1 Message Date
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
ghpzin
0dc1c7294c
etesync-dav: 0.32.1 -> 0.32.1-unstable-2024-09-02
Diff: https://github.com/etesync/etesync-dav/compare/v0.32.1...b9b23bf6fba60d42012008ba06023bccd9109c08

- contains commit pulled previously pulled with fetchpatch:
040cb7b572
- contains commit with changes to log.set_level() from radicale 3.2.2
update (additional second arg - backtrace_on_debug):
https://www.github.com/Kozea/Radicale/pull/1519
https://www.github.com/etesync/etesync-dav/pull/318
2024-09-07 17:22:59 +03:00
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
Alexis Ehret
df6fa25783 fix(etesync-dav): remove pinned dependencies
flask 2.0.3 isn't available on Pypi anymore. So I removed the explicit
dependencies.
2023-11-04 20:25:00 -07:00
Anthony Roussel
1ecd6c9662
python311Packages.flask-wtf: 1.1.1 -> 1.2.1
https://github.com/wtforms/flask-wtf/releases/tag/v1.1.2
https://github.com/wtforms/flask-wtf/releases/tag/v1.2.0
https://github.com/wtforms/flask-wtf/releases/tag/v1.2.1
2023-10-04 17:06:50 +02:00
Theodore Ni
92368fec94
etesync-dav: pull patch into flask to work with setuptools 67.5.0+ 2023-08-23 17:50:29 -07:00
Weijia Wang
13600367b2 treewide: misc: use top-level fetchPypi 2023-05-25 17:07:31 +03:00
Robert Schütz
1bb2506ed9 etesync-dav: add passthru.tests 2023-04-29 12:51:27 -07:00
Robert Schütz
32cc037ff6 etesync-dav: fix build 2023-04-29 12:49:00 -07:00
Robert Schütz
4d4df39356 etesync-dav: use SRI hashes 2023-03-09 15:37:11 -08:00
Cody Hiar
d9e8d5d8c1 etesync-dav: fix broken dependancies
Related #206852

This was failing due to newer versions of Flask requiring newer versions
of werkzeug. I referenced:

https://github.com/etesync/etesync-dav/blob/master/requirements.txt

to downgrade flake and use the current wtforms. The issue with using
flask-wtf==0.15.1 and wtforms==3.0.1 is there are tests in flask-wtf
that reference import paths that are removed in wtforms 3.0.0:

https://github.com/wtforms/flask-wtf/blob/v0.15.1/tests/test_form.py#L5

So I've just skipped the tests that failed. Once everything compiled I
tried running the binary which complained:

ModuleNotFoundError: No module named 'pkg_resources'

So I added setuptools to the propagatedBuildInputs. After I was able to
render the page at http://localhost:37358/.web/add/
2023-02-21 15:25:35 -07:00
thyol
7cb6b3251f
etesync-dav: add thyol to maintainers 2022-10-02 21:55:49 +08:00
Martin Weinelt
6cfccb5648
etesync-dav: update dependencies 2022-06-22 14:39:04 +02:00
Robert Schütz
98bf174d52 etesync-dav: pin dependency versions 2022-05-24 04:33:16 +00: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
Robert Schütz
9607743161 etesync-dav: 0.30.8 -> 0.32.1
https://github.com/etesync/etesync-dav/blob/v0.32.1/ChangeLog.md
2022-01-31 23:02:53 +00:00
sophrosyne97
f5152b2122 etesync-dav: 0.30.7 -> 0.30.8 2021-08-11 14:31:13 -04:00
Robert Schütz
6cb37d21a3 etesync-dav: mark as broken on Darwin 2021-01-16 14:33:10 +01:00
Robert Schütz
7c1eee3b8e etesync-dav: 0.30.6 -> 0.30.7 2021-01-16 13:30:14 +01:00
Nicholas von Klitzing
231ca64ed9 etesync-dav: 0.20.0 -> 0.30.6 2020-12-07 14:09:50 +01:00
Robert Schütz
3d3eef24ae etesync-dav: loosen radicale version bounds 2020-09-02 09:04:04 -07:00
Vincent Breitmoser
f8a71846e9 etesync-dav: 0.17.0 -> 0.20.0 2020-07-20 22:49:06 +02:00
R. RyanTM
5b42995f3a etesync-dav: 0.16.0 -> 0.17.0 2020-05-27 12:37:30 -07:00
R. RyanTM
7a06b8c181 etesync-dav: 0.15.0 -> 0.16.0 2020-04-12 09:32:25 +00:00
R. RyanTM
3f02faf825 etesync-dav: 0.14.2 -> 0.15.0 2020-03-08 07:09:51 +00:00
Vincent Breitmoser
bd91cacadf etesync-dav: init at 0.14.2 2020-02-22 11:15:39 -08:00