2023-01-16 18:50:12 +01:00
|
|
|
{ pkgs ? import ./nix {} }:
|
2023-02-09 17:27:03 +01:00
|
|
|
let
|
|
|
|
python = pkgs.python310.override {
|
|
|
|
packageOverrides = self: super: {
|
2023-02-13 15:26:52 +01:00
|
|
|
django = self.django_4;
|
|
|
|
mozilla-django-oidc = self.callPackage ./mozilla-django-oidc.nix {};
|
2023-02-09 17:27:03 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
2023-01-16 18:50:12 +01:00
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = [
|
2023-02-09 17:27:03 +01:00
|
|
|
(python.withPackages (ps: [
|
2023-01-16 18:50:12 +01:00
|
|
|
ps.django
|
|
|
|
ps.black
|
|
|
|
ps.isort
|
|
|
|
ps.djangorestframework
|
2023-02-09 17:27:03 +01:00
|
|
|
# (ps.django-extensions.override { inherit django; })
|
2023-02-08 03:30:11 +01:00
|
|
|
# ps.django-compressor
|
2023-02-13 15:26:52 +01:00
|
|
|
ps.mozilla-django-oidc
|
2023-01-16 18:50:12 +01:00
|
|
|
]))
|
|
|
|
];
|
|
|
|
}
|