Files
nixpkgs/pkgs/development/python-modules/django-jquery-js/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

33 lines
685 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 = {
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 ];
};
}