From eabc7f6a12e2d18ed529afeb9737c2f3db5008c4 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 11 Nov 2024 17:11:10 +0800 Subject: [PATCH] flake: Register the pytec Python package --- flake.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e44286d..a3a0d48 100644 --- a/flake.nix +++ b/flake.nix @@ -57,10 +57,22 @@ dontFixup = true; auditable = false; }; + + pytec = pkgs.python3Packages.buildPythonPackage { + pname = "pytec"; + version = "0.0.0"; + src = "${self}/pytec"; + + propagatedBuildInputs = + with pkgs.python3Packages; [ + numpy + matplotlib + ]; + }; in { packages.x86_64-linux = { - inherit thermostat; + inherit thermostat pytec; default = thermostat; };