From ee17bbadfed47af24572919d143f260c9c57bb36 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 23 Apr 2023 02:27:01 -0400 Subject: feat: add nix flake --- nix/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nix/default.nix (limited to 'nix/default.nix') 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]; +} -- cgit v1.2.3