Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
2.0 kB · 105 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106{ lib, buildPythonPackage, fetchFromGitHub, setuptools, numpy, pillow, pyyaml, chardet, colorlog, filelock, pandas, prettytable, py-cpuinfo, pydantic, requests, ruamel-yaml, typing-extensions, ujson, distutils, huggingface-hub, nix-update-script,}:
let gputil = buildPythonPackage rec { pname = "gputil"; version = "1.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "anderskm"; repo = "gputil"; tag = "v${version}"; hash = "sha256-iOyB653BMmDBtK1fM1ZyddjlnaypsuLMOV0sKaBt+yE="; };
build-system = [ setuptools ];
dependencies = [ distutils ];
pythonImportsCheck = [ "GPUtil" ];
meta = { homepage = "https://github.com/anderskm/gputil"; license = lib.licenses.mit; description = "Getting GPU status from NVIDA GPUs using nvidia-smi"; changelog = "https://github.com/anderskm/gputil/releases/tag/${src.tag}"; }; };inbuildPythonPackage rec { pname = "paddlex"; version = "3.1.3"; pyproject = true;
src = fetchFromGitHub { owner = "PaddlePaddle"; repo = "PaddleX"; tag = "v${version}"; hash = "sha256-sNnaTB7wJFXVXnc7I1XufAWdTXHr1is3JdXdh6Ssc+s="; };
build-system = [ setuptools ];
pythonRelaxDeps = [ "numpy" "pandas" ];
dependencies = [ chardet colorlog filelock numpy pandas pillow prettytable py-cpuinfo pydantic pyyaml requests ruamel-yaml typing-extensions ujson gputil huggingface-hub ];
passthru.updateScript = nix-update-script { };
meta = { homepage = "https://github.com/PaddlePaddle/PaddleX"; license = lib.licenses.asl20; description = "All-in-One Development Tool based on PaddlePaddle"; changelog = "https://github.com/PaddlePaddle/PaddleX/releases/tag/${src.tag}"; maintainers = with lib.maintainers; [ ]; platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; };}