14 , # optional dependencies
17 , sentence-transformers
28 buildPythonPackage rec {
29 pname = "manifest-ml";
31 format = "setuptools";
33 disalbed = pythonOlder "3.8";
35 src = fetchFromGitHub {
36 owner = "HazyResearch";
38 rev = "refs/tags/v${version}";
39 hash = "sha256-d34TIZYDB8EDEIZUH5mDzfDHzFT290DwjPLJkNneklc=";
42 propagatedBuildInputs = [
52 ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
54 passthru.optional-dependencies = {
73 # cloud-sql-python-connector
87 # this file tries importing `deepspeed`, which is not yet packaged in nixpkgs
88 "--ignore=tests/test_huggingface_api.py"
92 # these tests have db access
94 "test_key_get_and_set"
96 # this test has network access
98 # Test is time-senstive
102 pythonImportsCheck = [
107 description = "Manifest for Prompting Foundation Models";
108 homepage = "https://github.com/HazyResearch/manifest";
109 changelog = "https://github.com/HazyResearch/manifest/releases/tag/v${version}";
110 license = licenses.asl20;
111 maintainers = with maintainers; [ natsukium ];