diff options
author | Sylvain Fankhauser <sephi@fhtagn.top> | 2022-12-22 15:36:37 +0100 |
---|---|---|
committer | Sylvain Fankhauser <sephi@fhtagn.top> | 2023-01-05 09:03:26 +0100 |
commit | 663fa914f6b7b937d2bf832948d630c3fa359610 (patch) | |
tree | d2c2a817c26a10de70deb115574f82e448db7a01 /pkgs/development/python-modules/django-vite | |
parent | e7b618f61fb1036b7755edfdaa105854dedde8f8 (diff) |
python3Packages.django-vite: init at 2.0.2
Diffstat (limited to 'pkgs/development/python-modules/django-vite')
-rw-r--r-- | pkgs/development/python-modules/django-vite/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/django-vite/default.nix b/pkgs/development/python-modules/django-vite/default.nix new file mode 100644 index 0000000000000..551eaf640d6e0 --- /dev/null +++ b/pkgs/development/python-modules/django-vite/default.nix @@ -0,0 +1,27 @@ +{ lib, fetchFromGitHub, buildPythonPackage, django }: + +buildPythonPackage rec { + pname = "django-vite"; + version = "2.0.2"; + + src = fetchFromGitHub { + owner = "MrBin99"; + repo = pname; + rev = version; + sha256 = "sha256-lYRFNHTIQBn7CDnWFxSzXELzqEtQcbwHedSZnR7ZtbE="; + }; + + 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"; + license = licenses.asl20; + maintainers = with maintainers; [ sephi ]; + }; +} |