diff --git a/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix b/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix index 9c98ffcb4e2c..467cf4247db4 100644 --- a/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix +++ b/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix @@ -2,29 +2,36 @@ buildPythonPackage, lib, fetchPypi, + setuptools, xstatic-jquery, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "xstatic-jquery-file-upload"; version = "10.31.0.1"; - format = "setuptools"; + pyproject = true; + + __structuredAttrs = true; src = fetchPypi { pname = "XStatic-jQuery-File-Upload"; - inherit version; - sha256 = "7d716f26aca14732c35c54f0ba6d38187600ab472fc98a91d972d12c5a70db27"; + inherit (finalAttrs) version; + hash = "sha256-fXFvJqyhRzLDXFTwum04GHYAq0cvyYqR2XLRLFpw2yc="; }; + build-system = [ setuptools ]; + # no tests implemented doCheck = false; - propagatedBuildInputs = [ xstatic-jquery ]; + dependencies = [ xstatic-jquery ]; + + pythonImportsCheck = [ "xstatic.pkg.jquery_file_upload" ]; meta = { - homepage = "https://plugins.jquery.com/project/jQuery-File-Upload"; + homepage = "https://github.com/blueimp/jQuery-File-Upload"; description = "jquery-file-upload packaged static files for python"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ makefu ]; }; -} +})