File tree Expand file tree Collapse file tree 3 files changed +63
-0
lines changed
development/python-modules/metaflow Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1254512545 githubId = 787421;
1254612546 name = "Kevin Quick";
1254712547 };
12548+ kr7x = {
12549+ name = "Carlos Reyes";
12550+ 12551+ github = "K4rlosReyes";
12552+ githubId = 108368394;
12553+ };
1254812554 kraanzu = {
1254912555 name = "Murli Tawari";
1255012556
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ boto3 ,
6+ requests ,
7+ setuptools ,
8+ python ,
9+ } :
10+
11+ buildPythonPackage rec {
12+ pname = "metaflow" ;
13+ version = "2.13.9" ;
14+ pyproject = true ;
15+
16+ src = fetchFromGitHub {
17+ owner = "Netflix" ;
18+ repo = "metaflow" ;
19+ tag = version ;
20+ hash = "sha256-f/cWZl59i1PRqNqLV5LtcZoDKdovdCKoQJNxzXKczgs=" ;
21+ } ;
22+
23+ build-system = [
24+ setuptools
25+ ] ;
26+
27+ dependencies = [
28+ boto3
29+ requests
30+ ] ;
31+
32+ checkPhase = ''
33+ runHook preCheck
34+
35+ export HOME="$TMPDIR"
36+ export USER="metaflow-test-user"
37+
38+ pushd test/core
39+ ${ python . interpreter } run_tests.py --num-parallel $NIX_BUILD_CORES \
40+ --tests FlowOptionsTest,BasicLogTest
41+ popd
42+
43+ runHook postCheck
44+ '' ;
45+
46+ pythonImportsCheck = [ "metaflow" ] ;
47+
48+ meta = {
49+ description = "Open Source AI/ML Platform" ;
50+ homepage = "https://metaflow.org/" ;
51+ changelog = "https://github.com/Netflix/metaflow/releases/tag/${ version } " ;
52+ license = lib . licenses . asl20 ;
53+ maintainers = with lib . maintainers ; [ kr7x ] ;
54+ } ;
55+ }
Original file line number Diff line number Diff line change @@ -8199,6 +8199,8 @@ self: super: with self; {
81998199
82008200 messagebird = callPackage ../development/python-modules/messagebird { };
82018201
8202+ metaflow = callPackage ../development/python-modules/metaflow { };
8203+
82028204 metakernel = callPackage ../development/python-modules/metakernel { };
82038205
82048206 metar = callPackage ../development/python-modules/metar { };
You can’t perform that action at this time.
0 commit comments