2023-05-22 10:57:11 +02:00
|
|
|
let
|
2024-12-10 15:41:21 +01:00
|
|
|
sources = import ./npins;
|
|
|
|
pkgs = import sources.nixpkgs { };
|
|
|
|
nix-pkgs = import sources.nix-pkgs { inherit pkgs; };
|
|
|
|
kat-pkgs = import sources.kat-pkgs { inherit pkgs; };
|
|
|
|
python3 = pkgs.python3.override {
|
|
|
|
packageOverrides = final: prev: {
|
|
|
|
inherit (nix-pkgs) authens django-bootstrap-form django-cas-ng;
|
|
|
|
inherit (kat-pkgs.python3Packages)
|
|
|
|
django-djconfig
|
|
|
|
django-hCaptcha
|
|
|
|
wagtail-modeltranslation
|
|
|
|
wagtailmenus
|
|
|
|
;
|
|
|
|
};
|
|
|
|
};
|
2023-05-22 10:57:11 +02:00
|
|
|
in
|
2023-05-19 14:59:19 +02:00
|
|
|
pkgs.mkShell {
|
|
|
|
shellHook = ''
|
|
|
|
export DJANGO_SETTINGS_MODULE=gestioasso.settings.local
|
2022-10-03 10:34:06 +02:00
|
|
|
'';
|
|
|
|
|
2024-12-10 15:41:21 +01:00
|
|
|
packages = [
|
|
|
|
(python3.withPackages (
|
|
|
|
ps: with ps; [
|
|
|
|
django
|
|
|
|
pillow
|
|
|
|
authens
|
|
|
|
channels
|
|
|
|
configparser
|
|
|
|
django-autocomplete-light
|
|
|
|
django-bootstrap-form
|
|
|
|
django-cas-ng
|
|
|
|
django-cors-headers
|
|
|
|
django-djconfig
|
|
|
|
django-hCaptcha
|
|
|
|
django-js-reverse
|
|
|
|
django-widget-tweaks
|
|
|
|
icalendar
|
|
|
|
python-dateutil
|
|
|
|
statistics
|
|
|
|
wagtail-modeltranslation
|
|
|
|
wagtail
|
|
|
|
wagtailmenus
|
|
|
|
|
|
|
|
django-debug-toolbar
|
|
|
|
ipython
|
|
|
|
black
|
|
|
|
flake8
|
|
|
|
isort
|
|
|
|
]
|
|
|
|
))
|
|
|
|
pkgs.npins
|
|
|
|
];
|
2023-05-19 14:59:19 +02:00
|
|
|
|
|
|
|
allowSubstitutes = false;
|
2022-10-03 10:34:06 +02:00
|
|
|
}
|