···1-# Build a python package from info made available by setupcfg2nix.
2-#
3-# * src: The source of the package.
4-# * info: The package information generated by setupcfg2nix.
5-# * meta: Standard nixpkgs metadata.
6-# * application: Whether this package is a python library or an
7-# application which happens to be written in python.
8-# * doCheck: Whether to run the test suites.
9-lib: pythonPackages:
10-{ src, info, meta ? {}, application ? false, doCheck ? true}: let
11- build = if application
12- then pythonPackages.buildPythonApplication
13- else pythonPackages.buildPythonPackage;
14-in build {
15- inherit (info) pname version;
16-17- inherit src meta doCheck;
18-19- nativeBuildInputs = map (p: pythonPackages.${p}) (
20- (info.setup_requires or []) ++
21- (lib.optionals doCheck (info.tests_require or []))
22- );
23-24- propagatedBuildInputs = map (p: pythonPackages.${p})
25- (info.install_requires or []);
26-}
···859 sdlmame = throw "'sdlmame' has been renamed to/replaced by 'mame'"; # Converted to throw 2023-09-10
860 searx = throw "'searx' has been removed as it is unmaintained. Please switch to searxng"; # Added 2023-10-03
861 session-desktop-appimage = session-desktop;
0862 sequoia = sequoia-sq; # Added 2023-06-26
863 sexp = sexpp; # Added 2023-07-03
864 sget = throw "sget has been removed from nixpkgs, as it is not supported upstream anymore see https://github.com/sigstore/sget/issues/145"; # Added 2023-05-26
···859 sdlmame = throw "'sdlmame' has been renamed to/replaced by 'mame'"; # Converted to throw 2023-09-10
860 searx = throw "'searx' has been removed as it is unmaintained. Please switch to searxng"; # Added 2023-10-03
861 session-desktop-appimage = session-desktop;
862+ setupcfg2nix = throw "'setupcfg2nix' has been removed. Please switch to buildPythonPackage"; # Added 2023-12-12
863 sequoia = sequoia-sq; # Added 2023-06-26
864 sexp = sexpp; # Added 2023-07-03
865 sget = throw "sget has been removed from nixpkgs, as it is not supported upstream anymore see https://github.com/sigstore/sget/issues/145"; # Added 2023-05-26