going somewhere.

This commit is contained in:
didier committed 2024-11-04 18:50:34 -05:00
1 parent 2c798c8ca5
commit 35c5ab9a32
5 files changed
+51 -8

No files matched your search

+36 -1
View File
@@ -22,8 +22,42 @@
system = system;
config.allowUnfree = true;
};
pythonPackages = pkgs.python312Packages
// opencv-python-related.packages.${system}.python312Packages;
pandera = pkgs.python3Packages.buildPythonPackage {
version = "0.5.11";
pname = "lapx";
pyproject = true;
src = pkgs.python3Packages.fetchPypi {
pname = "pandera";
version = "0.20.4";
hash = "sha256-zPYXgpPvnUOT3Ed25HR349LdUcgA7N/t7Gf/9Q9K08I=";
};
propagatedBuildInputs = with pythonPackages; [ multimethod
numpy
pandas
pydantic
typeguard
typing-inspect
wrapt
];
nativeBuildInputs = with pythonPackages; [
setuptools
];
meta = with pkgs.lib; {
description = "The Open-source Framework for Precision Data Testing";
homepage = "https://github.com/unionai-oss/pandera";
license = pkgs.lib.licenses.mit;
maintainers = with maintainers; [ ];
};
};
virtual-env = pkgs.python312.withPackages (ps: [
ps.matplotlib
ps.torchWithCuda
@@ -32,10 +66,11 @@
pythonPackages.boxmot
pythonPackages.ultralytics
pythonPackages.click
pandera
]);
in {
packages = { env = virtual-env; };
packages = { env = virtual-env; pandera = pandera; };
devShells.default = pkgs.mkShell {
buildInputs = [ virtual-env pkgs.yt-dlp pkgs.ffmpeg_7 ];
};