nixpkgs/pkgs/development/python-modules/django-jquery-js/default.nix
Martin Weinelt a2819ed80d
python310Packages.django-jquery-js: init at 3.1.1
jQuery, bundled up so apps can depend on it.
2023-04-16 14:44:32 +02:00

36 lines
693 B
Nix

{ 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 ];
};
}