Something went wrong. Try again.
lol
Something went wrong. Try again.
904 B · 49 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, setuptools, filelock, packaging, requests, tqdm,}:
buildPythonPackage (finalAttrs: { pname = "modelscope"; version = "1.35.4"; pyproject = true;
src = fetchFromGitHub { owner = "modelscope"; repo = "modelscope"; tag = "v${finalAttrs.version}"; hash = "sha256-n33vf7GC4Oucw4/dWXeXeThRrkmSCk1rfS4BWzOxl7I="; };
build-system = [ setuptools ];
dependencies = [ filelock packaging requests setuptools tqdm ];
doCheck = false; # need network
pythonImportsCheck = [ "modelscope" ];
meta = { description = "Bring the notion of Model-as-a-Service to life"; homepage = "https://github.com/modelscope/modelscope"; license = lib.licenses.asl20; mainProgram = "modelscope"; maintainers = with lib.maintainers; [ kyehn doronbehar ryan4yin ]; };})