Martin Weinelt ae4a1a485a
treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00

31 lines
693 B
Nix

{
buildPythonPackage,
lib,
fetchPypi,
xstatic-jquery,
}:
buildPythonPackage rec {
pname = "xstatic-jquery-file-upload";
version = "10.31.0.1";
format = "setuptools";
src = fetchPypi {
pname = "XStatic-jQuery-File-Upload";
inherit version;
sha256 = "7d716f26aca14732c35c54f0ba6d38187600ab472fc98a91d972d12c5a70db27";
};
# no tests implemented
doCheck = false;
propagatedBuildInputs = [ xstatic-jquery ];
meta = with lib; {
homepage = "https://plugins.jquery.com/project/jQuery-File-Upload";
description = "jquery-file-upload packaged static files for python";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}