python310Packages.django-jquery-js: init at 3.1.1

jQuery, bundled up so apps can depend on it.
This commit is contained in:
Martin Weinelt 2023-02-26 21:20:58 +00:00
parent 84f0e42d59
commit a2819ed80d
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromBitbucket
, django
}:
buildPythonPackage rec {
pname = "django-jquery-js";
version = "3.1.1";
format = "setuptools";
src = fetchFromBitbucket {
owner = "tim_heap";
repo = "django-jquery";
rev = "refs/tags/v${version}";
hash = "sha256-TzMo31jFhcvlrmq2TJgQyds9n8eATaChnyhnQ7bwdzs=";
};
buildInputs = [
django
];
pythonImportsCheck = [
"jquery"
];
doCheck = false; # no tests
meta = with lib; {
description = "jQuery, bundled up so apps can depend upon it";
homepage = "https://bitbucket.org/tim_heap/django-jquery";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -2651,6 +2651,8 @@ self: super: with self; {
django-jinja = callPackage ../development/python-modules/django-jinja2 { };
django-jquery-js = callPackage ../development/python-modules/django-jquery-js { };
django-js-asset = callPackage ../development/python-modules/django-js-asset { };
django-js-reverse = callPackage ../development/python-modules/django-js-reverse { };