mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
Merge master into staging-next
This commit is contained in:
@@ -1,7 +1,19 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, beautifulsoup4, bottle, chardet, dateutil
|
||||
, google_api_python_client, lxml, oauth2client
|
||||
, ply, python_magic, pytest, requests }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, beautifulsoup4
|
||||
, bottle
|
||||
, chardet
|
||||
, dateutil
|
||||
, google_api_python_client
|
||||
, lxml
|
||||
, oauth2client
|
||||
, ply
|
||||
, pytest
|
||||
, python_magic
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.3.3";
|
||||
@@ -29,7 +41,7 @@ buildPythonPackage rec {
|
||||
python_magic
|
||||
requests
|
||||
# pytest really is a runtime dependency
|
||||
# https://bitbucket.org/blais/beancount/commits/554e13057551951e113835196770847c788dd592
|
||||
# https://github.com/beancount/beancount/blob/v2/setup.py#L81-L82
|
||||
pytest
|
||||
];
|
||||
|
||||
@@ -41,8 +53,7 @@ buildPythonPackage rec {
|
||||
financial transaction records in a text file, read them in memory,
|
||||
generate a variety of reports from them, and provides a web interface.
|
||||
'';
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ bhipple ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto3";
|
||||
pname = "boto3";
|
||||
version = "1.17.5"; # N.B: if you change this, change botocore too
|
||||
|
||||
src = fetchPypi {
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, protobuf, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "protobuf3-to-dict";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0nibblvj3n20zvq6d73zalbjqjby0w8ji5mim7inhn7vb9dw4hhy";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "protobuf_to_dict" ];
|
||||
|
||||
propagatedBuildInputs = [ protobuf six ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A teeny Python library for creating Python dicts from protocol buffers and the reverse";
|
||||
homepage = "https://github.com/kaporzhu/protobuf-to-dict";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ nequissimus ];
|
||||
};
|
||||
}
|
||||
34
pkgs/development/python-modules/sagemaker/default.nix
Normal file
34
pkgs/development/python-modules/sagemaker/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, attrs, boto3, google-pasta
|
||||
, importlib-metadata, numpy, protobuf, protobuf3-to-dict, smdebug-rulesconfig }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sagemaker";
|
||||
version = "2.24.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1j1a058ic00yxnf0cc364fzn82pacih5ffrh5s4dw1q4s3by4cvd";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "sagemaker" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
boto3
|
||||
google-pasta
|
||||
importlib-metadata
|
||||
numpy
|
||||
protobuf
|
||||
protobuf3-to-dict
|
||||
smdebug-rulesconfig
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for training and deploying machine learning models on Amazon SageMaker";
|
||||
homepage = "https://github.com/aws/sagemaker-python-sdk/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nequissimus ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "smdebug-rulesconfig";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "smdebug_rulesconfig";
|
||||
sha256 = "1mpwjfvpmryqqwlbyf500584jclgm3vnxa740yyfzkvb5vmyc6bs";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "smdebug_rulesconfig" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "These builtin rules are available in Amazon SageMaker";
|
||||
homepage = "https://github.com/awslabs/sagemaker-debugger-rulesconfig";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nequissimus ];
|
||||
};
|
||||
}
|
||||
@@ -35,6 +35,6 @@ buildPythonPackage rec {
|
||||
description = "Library to get the currently playing song and artist from Spotify";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ siraben ];
|
||||
platforms = lib.platforms.linux;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user