0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00
nixpkgs/pkgs/development/python-modules/django-vite/default.nix
2025-05-25 03:41:48 +02:00

37 lines
821 B
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
lib,
fetchFromGitHub,
buildPythonPackage,
django,
pythonOlder,
}:
buildPythonPackage rec {
pname = "django-vite";
version = "3.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MrBin99";
repo = "django-vite";
tag = version;
hash = "sha256-S5DpU0Sw0TOY1SNici6djeTrvg4gehH/a2UCzju1e/s=";
};
propagatedBuildInputs = [ django ];
# Package doesnt have any tests
doCheck = false;
pythonImportsCheck = [ "django_vite" ];
meta = with lib; {
description = "Integration of ViteJS in a Django project";
homepage = "https://github.com/MrBin99/django-vite";
changelog = "https://github.com/MrBin99/django-vite/releases/tag/${src.tag}";
license = licenses.asl20;
maintainers = with maintainers; [ sephi ];
};
}