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
+15 -5
View File
@@ -1,4 +1,16 @@
{ lib, buildPythonPackage, fetchPypi, pkgs}:
{
lib,
buildPythonPackage,
fetchPypi,
click,
django,
python-dotenv,
pytz,
setuptools,
sqlparse,
zipp
}:
let
pydeps = pypkgs: with pypkgs; [
@@ -28,8 +40,7 @@ in buildPythonPackage rec {
doCheck = false;
buildInputs = with pkgs; [
#(python3.withPackages pydeps)
buildInputs = [
click
django
python-dotenv
@@ -39,7 +50,6 @@ in buildPythonPackage rec {
zipp
];
nativeBuildInputs = with pkgs; [
#(python3.withPackages pydeps)
nativeBuildInputs = [
];
}
+1 -1
View File
@@ -14,7 +14,7 @@ flake-utils.lib.eachDefaultSystemMap (system:
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;
};