python3Packages.django-vite: init at 2.0.2
This commit is contained in:
parent
e7b618f61f
commit
663fa914f6
27
pkgs/development/python-modules/django-vite/default.nix
Normal file
27
pkgs/development/python-modules/django-vite/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -2652,6 +2652,8 @@ self: super: with self; {
|
||||
|
||||
django-versatileimagefield = callPackage ../development/python-modules/django-versatileimagefield { };
|
||||
|
||||
django-vite = callPackage ../development/python-modules/django-vite { };
|
||||
|
||||
django-webpack-loader = callPackage ../development/python-modules/django-webpack-loader { };
|
||||
|
||||
django-widget-tweaks = callPackage ../development/python-modules/django-widget-tweaks { };
|
||||
|
Loading…
Reference in New Issue
Block a user