Skip to content

Commit

Permalink
pythonPackages.groq: init at 0.11.0
Browse files Browse the repository at this point in the history
* pythonPackages.groq: init at 0.11.0
* Added myself as a maintainer
  • Loading branch information
GiulioCocconi committed Sep 13, 2024
1 parent fafef50 commit 841f693
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7716,6 +7716,11 @@
githubId = 19275558;
name = "Julien Girard-Satabin";
};
giuliococconi = {
email = "[email protected]";
github = "GiulioCocconi";
name = "Giulio Cocconi";
};
GKasparov = {
email = "[email protected]";
github = "GKasparov";
Expand Down
51 changes: 51 additions & 0 deletions pkgs/development/python-modules/groq/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatch-fancy-pypi-readme,
hatchling,
anyio,
cached-property,
distro,
httpx,
pydantic,
sniffio,
typing-extensions,
}:

buildPythonPackage rec {
pname = "groq";
version = "0.11.0";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-27mu/t84jd1IAex78+un9e22eUj+wM0oKdlyRAWfQqc=";
};

build-system = [
hatch-fancy-pypi-readme
hatchling
];

dependencies = [
anyio
cached-property
distro
httpx
pydantic
sniffio
typing-extensions
];

pythonImportsCheck = [
"groq"
];

meta = {
description = "The official Python library for the groq API";
homepage = "https://pypi.org/project/groq/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ giuliococconi ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5375,6 +5375,8 @@ self: super: with self; {

greynoise = callPackage ../development/python-modules/greynoise { };

groq = callPackage ../development/python-modules/groq { };

growattserver = callPackage ../development/python-modules/growattserver { };

gridnet = callPackage ../development/python-modules/gridnet { };
Expand Down

0 comments on commit 841f693

Please sign in to comment.