flake: Register the pytec Python package #150

Merged
sb10q merged 1 commits from atse/thermostat:pytec-flake into master 2024-11-16 13:11:20 +08:00

View File

@ -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;
};