python3Packages.dbgpu: init at 2025.12

This commit is contained in:
jaredmontoya 2026-05-20 22:01:09 +02:00
commit c48ddafb96
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
click,
pydantic,
thefuzz,
}:
buildPythonPackage (finalAttrs: {
pname = "dbgpu";
version = "2025.12";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-1KL9w2/1/yrzfo/Yo+B0CrKvc8xeD9oZn9/z1vFob04=";
};
build-system = [ setuptools ];
dependencies = [
click
pydantic
];
optional-dependencies = {
fuzz = [ thefuzz ];
};
pythonImportsCheck = [ "dbgpu" ];
meta = {
description = "A small, easy-to-use open source database of over 2000 GPUs with architecture, manufacturing, API support and performance details";
homepage = "https://github.com/painebenjamin/dbgpu";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jaredmontoya ];
mainProgram = "dbgpu";
};
})

View file

@ -3712,6 +3712,8 @@ self: super: with self; {
dbglib = callPackage ../development/python-modules/dbglib { };
dbgpu = callPackage ../development/python-modules/dbgpu { };
dbt-adapters = callPackage ../development/python-modules/dbt-adapters { };
dbt-bigquery = callPackage ../development/python-modules/dbt-bigquery { };