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: {
|
|
|
|
django = super.django_4;
|
2023-02-13 18:44:13 +01:00
|
|
|
authens = self.callPackage ./authens.nix {};
|
|
|
|
pythoncas = self.callPackage ./python-cas.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-13 18:44:13 +01:00
|
|
|
ps.authens
|
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-01-16 18:50:12 +01:00
|
|
|
]))
|
|
|
|
];
|
|
|
|
}
|