fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
828 B
Nix
37 lines
828 B
Nix
{
|
||
lib,
|
||
fetchFromGitHub,
|
||
buildPythonPackage,
|
||
django,
|
||
pythonOlder,
|
||
}:
|
||
|
||
buildPythonPackage rec {
|
||
pname = "django-vite";
|
||
version = "3.0.4";
|
||
format = "setuptools";
|
||
|
||
disabled = pythonOlder "3.7";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "MrBin99";
|
||
repo = pname;
|
||
rev = "refs/tags/${version}";
|
||
hash = "sha256-rIT4WA45v353vSV56fBOa0euiuwnXWmhbxniAWPAkMo=";
|
||
};
|
||
|
||
propagatedBuildInputs = [ django ];
|
||
|
||
# Package doesn’t 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/${version}";
|
||
license = licenses.asl20;
|
||
maintainers = with maintainers; [ sephi ];
|
||
};
|
||
}
|