diff options
| author | seth <[email protected]> | 2023-04-23 02:27:01 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-04-23 02:27:01 -0400 |
| commit | ee17bbadfed47af24572919d143f260c9c57bb36 (patch) | |
| tree | d3fbb67ff1bd6d0857cb5e9d97cf04b2945c48d4 /nix/default.nix | |
| parent | 3c02d2353d8bdfd2b6e5a09ac17214bae76664d7 (diff) | |
feat: add nix flake
Diffstat (limited to 'nix/default.nix')
| -rw-r--r-- | nix/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix new file mode 100644 index 0000000..fca9993 --- /dev/null +++ b/nix/default.nix @@ -0,0 +1,16 @@ +{ + lib, + python311Packages, + version, +}: +python311Packages.buildPythonPackage { + pname = "guzzle-api"; + inherit version; + + src = lib.cleanSource ../.; + format = "flit"; + doCheck = false; + + propagatedBuildInputs = with python311Packages; [fastapi pydantic uvicorn]; + propagatedNativeBuildInputs = with python311Packages; [flit-core]; +} |
