Files

36 lines
718 B
Nix

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