-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnowflake-snowpark-python.nix
67 lines (57 loc) · 1.1 KB
/
snowflake-snowpark-python.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
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, mypy-protobuf
, protoc-wheel-0
, cloudpickle
, protobuf
, python-dateutil
, pyyaml
, setuptools
, snowflake-connector-python
, typing-extensions
, tzlocal
, wheel
}:
buildPythonPackage rec {
pname = "snowflake-snowpark-python";
version = "1.28.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "snowflake_snowpark_python";
hash = "sha256-ijn9xg/nOwTd3EiJq1rVqDZaQmtmxKYaZkQzAfXTtCI=";
};
disabled = pythonOlder "3.8";
pythonRelaxDeps = [
"cloudpickle"
];
build-system = [
setuptools
mypy-protobuf
protoc-wheel-0
];
dependencies = [
cloudpickle
protobuf
python-dateutil
pyyaml
setuptools
snowflake-connector-python
typing-extensions
tzlocal
wheel
];
doCheck = false;
pythonImportsCheck = [
"snowflake"
"snowflake.snowpark"
];
meta = with lib; {
description = "Snowflake Snowpark Python API";
homepage = "https://github.com/snowflakedb/snowpark-python";
license = licenses.asl20;
maintainers = with maintainers; [ padhia ];
};
}