mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
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
This commit is contained in:
parent
48c3bb5824
commit
c437fb23e1
|
@ -45,7 +45,7 @@ in
|
|||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.python3.pkgs.etebase-server;
|
||||
default = pkgs.etebase-server;
|
||||
defaultText = literalExpression "pkgs.python3.pkgs.etebase-server";
|
||||
description = "etebase-server package to use.";
|
||||
};
|
||||
|
|
|
@ -14,7 +14,7 @@ let
|
|||
};
|
||||
};
|
||||
in
|
||||
python.pkgs.buildPythonPackage rec {
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "etebase-server";
|
||||
version = "0.13.1";
|
||||
|
||||
|
|
|
@ -30201,7 +30201,7 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
|
||||
};
|
||||
|
||||
etebase-server = with python3Packages; toPythonApplication etebase-server;
|
||||
etebase-server = callPackage ../servers/etebase {};
|
||||
|
||||
etesync-dav = callPackage ../applications/misc/etesync-dav { };
|
||||
|
||||
|
|
|
@ -158,6 +158,7 @@ mapAliases ({
|
|||
email_validator = email-validator; # added 2022-06-22
|
||||
enhancements = throw "enhancements is unmaintained upstream and has therefore been removed"; # added 2023-10-27
|
||||
et_xmlfile = et-xmlfile; # added 2023-10-16
|
||||
etebase-server = throw "pkgs.python3.etebase-server has been removed, use pkgs.etebase-server"; # added 2024-07-16
|
||||
ev3dev2 = python-ev3dev2; # added 2023-06-19
|
||||
eyeD3 = eyed3; # added 2024-01-03
|
||||
Fabric = fabric; # addedd 2023-02-19
|
||||
|
|
|
@ -3974,8 +3974,6 @@ self: super: with self; {
|
|||
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
etebase-server = callPackage ../servers/etebase { };
|
||||
|
||||
eternalegypt = callPackage ../development/python-modules/eternalegypt { };
|
||||
|
||||
etesync = callPackage ../development/python-modules/etesync { };
|
||||
|
|
Loading…
Reference in a new issue