Skip to content
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

Merged
merged 1 commit into from Apr 22, 2021
Merged

sqlitecpp: init 3.1.1 #99063

merged 1 commit into from Apr 22, 2021

Conversation

jbedo
Copy link
Contributor

@jbedo jbedo commented Sep 29, 2020

Motivation for this change

Init GenomicSQLite and required SQLiteC++ dependency.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Copy link
Contributor

@doronbehar doronbehar left a 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).

pkgs/development/libraries/genomicsqlite/default.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/genomicsqlite/default.nix Outdated Show resolved Hide resolved
@jbedo jbedo force-pushed the genomicsqlite branch 5 times, most recently from d06ffb5 to c98d704 Compare March 29, 2021 23:01
@doronbehar
Copy link
Contributor

Note that there's also an eval error.

@jbedo jbedo changed the title Genomicsqlite sqlitecpp: init 3.1.1 Apr 19, 2021
@jbedo
Copy link
Contributor Author

jbedo commented Apr 19, 2021

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.

Copy link
Contributor

@doronbehar doronbehar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall.

pkgs/development/libraries/sqlitecpp/default.nix Outdated Show resolved Hide resolved
@ofborg ofborg bot requested a review from doronbehar April 21, 2021 00:28
@doronbehar doronbehar merged commit 5bad492 into NixOS:master Apr 22, 2021
{ lib, stdenv, fetchFromGitHub, cmake, sqlite, cppcheck, gtest }:

stdenv.mkDerivation rec {
pname = "SQLiteCpp";
Copy link
Member

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.

Copy link
Contributor

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?

Copy link
Member

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";
Copy link
Member

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/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@jbedo jbedo mentioned this pull request Apr 27, 2021
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants