mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
python3Packages.pygrister: init at 0.10.0
This commit is contained in:
55
pkgs/development/python-modules/pygrister/default.nix
Normal file
55
pkgs/development/python-modules/pygrister/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user