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
sqlitecpp: init 3.1.1 #99063
sqlitecpp: init 3.1.1 #99063
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.
It would have been nice if upstream was able to support building the zstd extension separately, and linking to it during runtime (if needed).
d06ffb5
to
c98d704
Compare
Note that there's also an eval error. |
I've removed the genomicsqlite component of this as the expression contained a lot of hacky workarounds and upstream wasn't responsive making me think maintenance will be an issue in future. |
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.
LGTM overall.
{ lib, stdenv, fetchFromGitHub, cmake, sqlite, cppcheck, gtest }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "SQLiteCpp"; |
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.
pname should match the attribute name.
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.
@SuperSandro2000 thanks for the review. I noticed you comment this a lot. Is it a convention agreed upon in an RFC 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.
It isn't since some wrappers and other things add something additional to the attr name but thats not the case here and it is only confusing when the package shows up as something else in the searches or env.
]; | ||
|
||
meta = with lib; { | ||
homepage = "http://srombauts.github.com/SQLiteCpp"; |
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.
That homepage is wrong. The correct is https://srombauts.github.io/SQLiteCpp/
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.
Good catch!
Motivation for this change
Init GenomicSQLite and required SQLiteC++ dependency.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)