-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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.fluent-logger: init at 0.9.3 #44236
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 format your code and commit message according to the contributing guidelines. Also please use the PR template.
buildPythonPackage rec { | ||
pname = "fluent-logger"; | ||
version = "0.9.3"; | ||
name = "${pname}-${version}"; |
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.
Drop this line.
sha256 = "09vii0iclfq6vhz37xyybksq9m3538hkr7z40sz2dlpf2rkg98mg"; | ||
}; | ||
propagatedBuildInputs = [ msgpack ]; | ||
doCheck = false; |
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.
Why?
meta = { | ||
description = "A structured logger for Fluentd (Python)"; | ||
homepage = "https://github.com/fluent/fluent-logger-python"; | ||
}; |
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.
license
is missing
@dotlambda thanks for prompt review. Can you show me where PR template is? |
It appears when you make a PR. You can also find it here: https://raw.githubusercontent.com/NixOS/nixpkgs/master/.github/PULL_REQUEST_TEMPLATE.md |
@@ -0,0 +1,20 @@ | |||
{ pkgs, lib, buildPythonPackage, fetchPypi, msgpack }: |
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.
no pkgs
}; | ||
|
||
propagatedBuildInputs = [ msgpack ]; | ||
doCheck = false; |
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.
Why are the tests disabled? Please include a comment.
|
||
meta = with pkgs.stdenv.lib; { | ||
description = "A structured logger for Fluentd (Python)"; | ||
homepage = "https://github.com/fluent/fluent-logger-python"; |
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.
no quotes
@dotlambda @FRidh addressed everything you pointed out. |
@ngortheone The commit message still needs to be changed to |
@dotlambda done |
description = "A structured logger for Fluentd (Python)"; | ||
homepage = https://github.com/fluent/fluent-logger-python; | ||
license = licenses.asl20; | ||
}; |
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.
Do you want to add yourself as a maintainer?
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.
@dotlambda I'd prefer not to, unless it is absolutely required. I am not a python expert, I am just adding missing dependency for my project.
@GrahamcOfBorg build python2.pkgs.fluent-logger python3.pkgs.fluent-logger |
Success on aarch64-linux (full log) Attempted: python2.pkgs.fluent-logger, python3.pkgs.fluent-logger Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: python2.pkgs.fluent-logger, python3.pkgs.fluent-logger Partial log (click to expand)
|
@dotlambda @FRidh can you cherry pick this to 18.03? I can create a PR (I am not sure what is the standard process for back-porting changes) |
pythonPackages.fluent-logger: init at 0.9.3 (#44236)
Motivation for this change
Add fluent-logger package to pythonPackages
Things done
Added pypi fluent-logger package to
pythonPackages.nix
References:
https://github.com/fluent/fluent-logger-python
https://pypi.org/project/fluent-logger/