python3Packages.xstatic-jquery-file-upload: migrate to pyproject (#535639)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user