1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 django, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "django-vite"; 11 version = "3.0.4"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "MrBin99"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-rIT4WA45v353vSV56fBOa0euiuwnXWmhbxniAWPAkMo="; 21 }; 22 23 propagatedBuildInputs = [ django ]; 24 25 # Package doesn’t have any tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "django_vite" ]; 29 30 meta = with lib; { 31 description = "Integration of ViteJS in a Django project"; 32 homepage = "https://github.com/MrBin99/django-vite"; 33 changelog = "https://github.com/MrBin99/django-vite/releases/tag/${version}"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ sephi ]; 36 }; 37}