···11-# Build a python package from info made available by setupcfg2nix.
22-#
33-# * src: The source of the package.
44-# * info: The package information generated by setupcfg2nix.
55-# * meta: Standard nixpkgs metadata.
66-# * application: Whether this package is a python library or an
77-# application which happens to be written in python.
88-# * doCheck: Whether to run the test suites.
99-lib: pythonPackages:
1010-{ src, info, meta ? {}, application ? false, doCheck ? true}: let
1111- build = if application
1212- then pythonPackages.buildPythonApplication
1313- else pythonPackages.buildPythonPackage;
1414-in build {
1515- inherit (info) pname version;
1616-1717- inherit src meta doCheck;
1818-1919- nativeBuildInputs = map (p: pythonPackages.${p}) (
2020- (info.setup_requires or []) ++
2121- (lib.optionals doCheck (info.tests_require or []))
2222- );
2323-2424- propagatedBuildInputs = map (p: pythonPackages.${p})
2525- (info.install_requires or []);
2626-}
···859859 sdlmame = throw "'sdlmame' has been renamed to/replaced by 'mame'"; # Converted to throw 2023-09-10
860860 searx = throw "'searx' has been removed as it is unmaintained. Please switch to searxng"; # Added 2023-10-03
861861 session-desktop-appimage = session-desktop;
862862+ setupcfg2nix = throw "'setupcfg2nix' has been removed. Please switch to buildPythonPackage"; # Added 2023-12-12
862863 sequoia = sequoia-sq; # Added 2023-06-26
863864 sexp = sexpp; # Added 2023-07-03
864865 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