-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnowflake-cli.nix
80 lines (70 loc) · 1.28 KB
/
snowflake-cli.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{ lib
, buildPythonPackage
, hatch-vcs
, fetchFromGitHub
, pythonOlder
, hatchling
, jinja2
, pluggy
, pyyaml
, packaging
, rich
, requests
, requirements-parser
, setuptools
, snowflake-core
, snowflake-connector-python
, tomlkit
, typer
, urllib3
, gitpython
, pip
, pydantic
, keyring
}:
buildPythonPackage rec {
pname = "snowflake-cli";
version = "3.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "snowflakedb";
repo = "snowflake-cli";
rev = "refs/tags/v${version}";
hash = "sha256-G1jX9v0OliDMqojNu3ZSGVfvH74OlIsIQjRiLprrxYA=";
};
disabled = pythonOlder "3.10";
pythonRelaxDeps = true;
build-system = [
hatch-vcs
hatchling
pip
];
dependencies = [
jinja2
pluggy
pyyaml
packaging
rich
requests
requirements-parser
setuptools
snowflake-core
snowflake-connector-python
tomlkit
typer
urllib3
gitpython
pip
pydantic
keyring
];
doCheck = false;
meta = with lib; {
changelog = "https://github.com/snowflakedb/snowflake-cli/blob/main/RELEASE-NOTES.md";
description = "Snowflake Developer CLI";
homepage = "https://github.com/snowflakedb/snowflake-cli";
license = licenses.asl20;
maintainers = with maintainers; [ padhia ];
mainProgram = "snow";
};
}