python3Packages.pygrister: init at 0.10.0

This commit is contained in:
sinavir
2026-09-23 01:46:09 +02:00
parent 94783c7eb2
commit 2e46e9899d
2 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
typer,
pyinstaller,
tox,
nix-update-script,
}:
buildPythonPackage (finalAttrs: {
pname = "pygrister";
version = "0.10.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "ricpol";
repo = "pygrister";
tag = "v${finalAttrs.version}";
hash = "sha256-7NIiHbE9LQimStSpZrCEoWFdfpfrrS7TIctfv4y0Yqc=";
};
build-system = [
setuptools
];
dependencies = [
requests
typer
];
optional-dependencies = {
devel = [
pyinstaller
tox
];
};
pythonImportsCheck = [
"pygrister"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Python client for the Grist API";
homepage = "https://github.com/ricpol/pygrister";
changelog = "https://github.com/ricpol/pygrister/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sinavir ];
};
})

View File

@@ -15104,6 +15104,8 @@ self: super: with self; {
pygrib = callPackage ../development/python-modules/pygrib { };
pygrister = callPackage ../development/python-modules/pygrister { };
pygrok = callPackage ../development/python-modules/pygrok { };
pygsl = callPackage ../development/python-modules/pygsl { inherit (pkgs) gsl swig; };