Commit Graph

25 Commits

Author SHA1 Message Date
Paul Haerle
695088a544
etebase-server: 0.13.1 -> 0.14.2 (#336721) 2024-08-28 11:25:48 +02:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
phaer
c437fb23e1 etebase-server: use buildPythonApplication...
...not pythonPackage. This is an app, living in pkgs/servers, so
we just use callPackage in all-packages and drop the python module.

python3.pkgs.toPythonModule could be used if a python module was needed.
Before that change legacyPackages.x86_64-linux.python311.pkgs.etebase-server.python
would give a python 3.12 release, and was therefore broken.

etebase-server = toPythonModule (pkgs.etebase-server.override {
  python3 = python;
});

would now be correct
2024-07-16 20:20:29 +02:00
phaer
48c3bb5824 etebase-server: default to withLdap = false
as it's not unsual to run it without ldap and python-ldap is currently broken on master for python 3.12.
2024-07-15 13:11:59 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Pyrox
3d3f02967b
etebase-server: 0.11.0 -> 0.13.1
Removes the dependency on Django 3, fixing #262907.
2024-06-04 16:41:12 -04: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
phaer
fa34964ef1 etebase: make proper package...
and remove the ad-hoc python environment.
Also remove daphne and use uvicorn just as upstream does
2024-03-01 22:55:27 +01:00
phaer
aa04a4d124 etebase: use dependencies from overriden python...
interpreter, as per review comment.
2024-03-01 22:54:41 +01:00
phaer
13686ad41f etebase: add phaer to maintainers 2024-03-01 14:32:45 +01:00
phaer
395bbdd54d etebase: fix runtime crash due to wrong pydantic..
...version. Upstream still uses pydantic 1, which it
implicitly imports via fastapi. Overriding that and its
pydantic-using dependencies fixes it, until upstream updates.
2024-03-01 14:32:45 +01:00
Felix Schröter
6091ca33eb
etebase-server: add passthru.updateScript 2023-05-31 14:42:49 +02:00
Felix Schröter
7197d45919
etebase-server: fix optional dependencies 2023-02-04 13:45:45 +01:00
Fabian Affolter
81af5f82eb
etebase-server: add changelog to meta 2023-01-04 10:41:25 +01:00
Felix Schröter
960db9bafc
etebase-server: 0.10.0 -> 0.11.0 2023-01-03 21:27:08 +01:00
Rvfg
bdb03bc365
etebase-server: add option withPostgres 2022-11-04 11:18:44 +08:00
Felix Schröter
fa12c2b481
etebase-server: 0.9.1 -> 0.10.0 2022-10-15 17:42:17 +02:00
OPNA2608
05d057ca32 etebase-server: Fixup after ldap -> python-ldap rename 2022-10-07 18:56:45 +02:00
Felix Schröter
3dd79ce65d
etebase-server: 0.8.3 -> 0.9.1 2022-06-13 21:45:40 +02:00
Felix Tenley
efcc1cf887
etebase-server: fix dependencies
Add missing dependencies & remove unused ones.
2022-04-27 23:13:40 +02:00
Felix Tenley
ead46754b4
etebase-server: fix build
For some reason the pyproject build setp started to fail. Since the
pyproject.toml is basically empty I'm switching this project to the
format "other".
2022-04-27 23:09:35 +02:00
Felix Tenley
de188a2470
etebase-server: 0.7.0 -> 0.8.3 2022-03-28 20:29:41 +02:00
Pavol Rusnak
33fccb2f00
etebase-server: mark no longer broken on darwin 2021-05-24 00:26:15 +02:00
Felix Tenley
d458869fc1
etebase-server: mark as broken on darwin 2021-02-02 17:13:50 +01:00
Felix Tenley
211cbfdb13
etebase-server: init at 0.7.0 2021-02-02 17:13:50 +01:00