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
go-jira: init at 1.0.17 #39363
go-jira: init at 1.0.17 #39363
Conversation
@@ -0,0 +1,22 @@ | |||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 | |||
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: |
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.
Could you remove useless attributes?
sha256 = "0ap5dzikp934mawigmv7ighajr5yxpck2gpnb2cmkc1p6qa6gn4v"; | ||
}; | ||
|
||
meta = { |
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.
Would you like to become the maintener of this packet? In this case, could you add yourself to the maintainers list?
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: | ||
|
||
buildGoPackage rec { | ||
name = "go-jira-v1-${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.
I think the name should be go-jira-${version}
.
|
||
goPackagePath = "gopkg.in/Netflix-Skunkworks/go-jira.v1"; | ||
|
||
src = fetchgit { |
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.
Could you use the tag as rev? Something such as rev = "v${version}"
.
Thanks for reviewing @nlewo. I've added the changes as you suggested and added myself as a maintainer. |
buildGoPackage rec { | ||
name = "go-jira-${version}"; | ||
version = "1.0.17"; | ||
rev = "b98da3612d6ab0f3872b64ff36e6cf93219fb4d4"; |
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.
rev
is then useless
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.
Thanks @nlewo :) This has been amended now.
@carlosdagos Thanks. One last thing, can you squash your commits and remove |
2a4b488
to
49f02db
Compare
Sure thing @nlewo. All done now :) |
@GrahamcOfBorg build go-jira |
Success on x86_64-linux (full log) Attempted: go-jira Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: go-jira Partial log (click to expand)
|
@carlosdagos Thanks! |
Motivation for this change
I borked up #26240 (sorry, I clearly need to learn how to git) where I didn't list any motivations. It's just a nice-enough program.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)Additionally, this is an updated version to what was intended in the previous PR at #26240.