feat(pkgs): Add bulma forms
This commit is contained in:
parent
e2d6371495
commit
9b0149e6ee
3 changed files with 38 additions and 0 deletions
|
@ -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"
|
||||||
|
|
36
pkgs/django-bulma-forms/default.nix
Normal file
36
pkgs/django-bulma-forms/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue