1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00

etebase-server: 0.13.1 -> 0.14.2 (#336721)

This commit is contained in:
Paul Haerle 2024-08-28 11:25:48 +02:00 committed by GitHub
parent bbbe271c79
commit 695088a544
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,30 +7,22 @@
, nixosTests
}:
let
python = python3.override {
self = python;
packageOverrides = self: super: {
pydantic = super.pydantic_1;
};
};
in
python.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "etebase-server";
version = "0.13.1";
version = "0.14.2";
src = fetchFromGitHub {
owner = "etesync";
repo = "server";
rev = "refs/tags/v${version}";
hash = "sha256-GEieXue3Kvc4zZjfypKLmTmhNPbn/GR8g0qEqkl+wkw=";
hash = "sha256-W2u/d8X8luOzgy1CLNgujnwaoO1pR1QO1Ma7i4CGkdU=";
};
patches = [ ./secret.patch ];
doCheck = false;
propagatedBuildInputs = with python.pkgs; [
propagatedBuildInputs = with python3.pkgs; [
aiofiles
django_4
fastapi
@ -56,9 +48,9 @@ python.pkgs.buildPythonApplication rec {
'';
passthru.updateScript = nix-update-script {};
passthru.python = python;
passthru.python = python3;
# PYTHONPATH of all dependencies used by the package
passthru.pythonPath = python.pkgs.makePythonPath propagatedBuildInputs;
passthru.pythonPath = python3.pkgs.makePythonPath propagatedBuildInputs;
passthru.tests = {
nixosTest = nixosTests.etebase-server;
};