New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pythonPackages.aws-sam-translator: init at 1.5.4 #41474
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a separate commit that adds you to maintainer-list.nix
and name the second commit exactly as this PR.
sha256 = "9d8a25e058c78d2cef5c07aec7f98cbc2070dbfc2eb6a2e102a16beafd14e3ca"; | ||
}; | ||
|
||
# Tests are not included in the PyPI package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to use fetchFromGitHub
in that case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked into it but the versions don't line up, latest tag on GitHub is 1.5 but latest version on PyPi is 1.5.4. The released version is probably just master but they really should tag it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, then better stick with fetchPypi
.
]; | ||
|
||
meta = { | ||
homepage = https://github.com/awslabs/aws-sam-cli; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upsie! fixed
d3953f8
to
d0266a4
Compare
Rebased to split d3953f8 into two separate commits. |
The commit messages still need to be changed. |
@GrahamcOfBorg build python2.pkgs.aws-sam-translator python3.pkgs.aws-sam-translator |
Failure on aarch64-linux (full log) Attempted: python2.pkgs.aws-sam-translator, python3.pkgs.aws-sam-translator Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: python2.pkgs.aws-sam-translator, python3.pkgs.aws-sam-translator Partial log (click to expand)
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4
|
||
propagatedBuildInputs = [ | ||
boto3 | ||
enum34 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enum34 should be added conditionally, that is, only with Python 2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this package supports Python3 at all, I need to express it somewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andreabedini use disabled = isPy3k;
sorry @dotlambda I'm not sure how they should be changed, is it documented in the docs? I'll check again |
d0266a4
to
b7a6dbe
Compare
@GrahamcOfBorg build python2.pkgs.aws-sam-translator python3.pkgs.aws-sam-translator |
Success on x86_64-linux (full log) Attempted: python2.pkgs.aws-sam-translator The following builds were skipped because they don't evaluate on x86_64-linux: python3.pkgs.aws-sam-translator Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python2.pkgs.aws-sam-translator The following builds were skipped because they don't evaluate on aarch64-linux: python3.pkgs.aws-sam-translator Partial log (click to expand)
|
Motivation for this change
New python package, needed for
aws-sam-cli
which I am about to submit as well.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)