summaryrefslogtreecommitdiff
path: root/nix/derivation.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/derivation.nix')
-rw-r--r--nix/derivation.nix15
1 files changed, 2 insertions, 13 deletions
diff --git a/nix/derivation.nix b/nix/derivation.nix
index 483aeef..8ca5b89 100644
--- a/nix/derivation.nix
+++ b/nix/derivation.nix
@@ -6,26 +6,15 @@
pydantic,
uvicorn,
self,
- build,
- wheel,
}:
buildPythonPackage {
pname = "guzzle-api";
version = builtins.substring 0 8 self.lastModifiedDate or "dirty";
src = lib.cleanSource self;
- format = "flit";
+ format = "pyproject";
doCheck = false;
- dontUsePypaBuild = true;
-
- # TODO: find out what's going on with pypaBuildHook
- buildPhase = ''
- runHook preBuild
- pyproject-build --no-isolation --outdir dist/ --wheel $pypaBuildFlags
- runHook postBuild
- '';
-
propagatedBuildInputs = [fastapi pydantic uvicorn];
- nativeBuildInputs = [flit-core build wheel];
+ nativeBuildInputs = [flit-core];
}