Clean up django-rapyd-modernauth build

This commit is contained in:
Greg Hellings
2023-06-29 10:03:17 -05:00
parent fdaed2ef6c
commit 821c873a8d
3 changed files with 16 additions and 13 deletions
-7
View File
@@ -61,13 +61,6 @@
darwinConfigurations = (import ./darwin { inherit inputs overlays; }); darwinConfigurations = (import ./darwin { inherit inputs overlays; });
homeConfigurations = (
import ./home {
inherit inputs overlays;
nixpkgs = nixunstable;
}
);
devShell = (flake-utils.lib.eachSystemMap flake-utils.lib.allSystems (system: let devShell = (flake-utils.lib.eachSystemMap flake-utils.lib.allSystems (system: let
pkgs = import nixunstable { inherit system overlays; }; pkgs = import nixunstable { inherit system overlays; };
in pkgs.mkShell { in pkgs.mkShell {
+15 -5
View File
@@ -1,4 +1,16 @@
{ lib, buildPythonPackage, fetchPypi, pkgs}: {
lib,
buildPythonPackage,
fetchPypi,
click,
django,
python-dotenv,
pytz,
setuptools,
sqlparse,
zipp
}:
let let
pydeps = pypkgs: with pypkgs; [ pydeps = pypkgs: with pypkgs; [
@@ -28,8 +40,7 @@ in buildPythonPackage rec {
doCheck = false; doCheck = false;
buildInputs = with pkgs; [ buildInputs = [
#(python3.withPackages pydeps)
click click
django django
python-dotenv python-dotenv
@@ -39,7 +50,6 @@ in buildPythonPackage rec {
zipp zipp
]; ];
nativeBuildInputs = with pkgs; [ nativeBuildInputs = [
#(python3.withPackages pydeps)
]; ];
} }
+1 -1
View File
@@ -14,7 +14,7 @@ flake-utils.lib.eachDefaultSystemMap (system:
brew = pkgs.callPackage ./homebrew.nix {}; brew = pkgs.callPackage ./homebrew.nix {};
django-rapyd-modernauth = pkgs.callPackage ./django-rapyd-modernauth.nix { django-rapyd-modernauth = pkgs.python3.pkgs.callPackage ./django-rapyd-modernauth.nix {
buildPythonPackage = pkgs.python3.pkgs.buildPythonPackage; buildPythonPackage = pkgs.python3.pkgs.buildPythonPackage;
}; };