feat(pkgs): Add bulma forms

This commit is contained in:
Tom Hubrecht 2024-05-28 08:28:54 +02:00
parent e2d6371495
commit 9b0149e6ee
3 changed files with 38 additions and 0 deletions

View file

@ -48,6 +48,7 @@ in
] ]
++ (builtins.map (p: ps.callPackage ./pkgs/${p} { }) [ ++ (builtins.map (p: ps.callPackage ./pkgs/${p} { }) [
"django-browser-reload" "django-browser-reload"
"django-bulma-forms"
"django-sass-processor" "django-sass-processor"
"django-sass-processor-dart-sass" "django-sass-processor-dart-sass"
"pykanidm" "pykanidm"

View file

@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchgit,
setuptools,
setuptools-scm,
wheel,
django,
}:
buildPythonPackage rec {
pname = "django-bulma-forms";
version = "0.1.4";
pyproject = true;
src = fetchgit {
url = "https://git.hubrecht.ovh/hubrecht/django-bulma-forms";
rev = "v${version}";
hash = "sha256-4KTMXx3YxDxB4/YH14pJnNYtpOGXeDmD+gcbrUHwD/w=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
propagatedBuildInputs = [ django ];
meta = with lib; {
description = "";
homepage = "https://git.hubrecht.ovh/hubrecht/django-bulma-forms";
license = licenses.eupl12;
maintainers = with maintainers; [ thubrecht ];
};
}

View file

@ -32,6 +32,7 @@ INSTALLED_APPS = [
"django.contrib.messages", "django.contrib.messages",
"shared.staticfiles.StaticFilesApp", # Overrides the default staticfiles app to filter out the sccs sources "shared.staticfiles.StaticFilesApp", # Overrides the default staticfiles app to filter out the sccs sources
"sass_processor", "sass_processor",
"bulma",
"dgsi", "dgsi",
] ]