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

imhex: init at 1.6.0-git #106576

Closed
wants to merge 1 commit into from
Closed

imhex: init at 1.6.0-git #106576

wants to merge 1 commit into from

Conversation

leo60228
Copy link
Member

Motivation for this change

ImHex has been receiving a lot of attention the past few days, I know the author, and I wanted to try it.

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.

nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ nlohmann_json capstone file glfw3 glm jsoncpp llvm_9 openssl python38 ];

patches = [ ./default-db.patch ];
Copy link
Member

Choose a reason for hiding this comment

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

please submit the patch upstream, and fetch the corresponding commit (in your fork) with fetchpatch.

@leo60228
Copy link
Member Author

leo60228 commented Dec 10, 2020 via email

@symphorien
Copy link
Member

then it should be commented copiously.


hardeningDisable = [ "format" ];

nativeBuildInputs = [ cmake pkgconfig ];
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
nativeBuildInputs = [ cmake pkgconfig ];
nativeBuildInputs = [ cmake pkg-config ];

Comment on lines +1 to +2
{ stdenv, gcc10Stdenv, cmake, pkgconfig, nlohmann_json, capstone, file, glfw3, glm, jsoncpp, llvm_9, openssl, python38, fetchFromGitHub }:
gcc10Stdenv.mkDerivation rec {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{ stdenv, gcc10Stdenv, cmake, pkgconfig, nlohmann_json, capstone, file, glfw3, glm, jsoncpp, llvm_9, openssl, python38, fetchFromGitHub }:
gcc10Stdenv.mkDerivation rec {
{ stdenv, cmake, pkg-config, nlohmann_json, capstone, file, glfw3, glm, jsoncpp, llvm_9, openssl, python3, fetchFromGitHub }:
stdenv.mkDerivation rec {

substituteInPlace source/lang/preprocessor.cpp --replace 'include/' "${patterns}/includes/"
'';

meta = with stdenv.lib; {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
meta = with stdenv.lib; {
meta = with lib; {

@SuperSandro2000
Copy link
Member

Also please change the version to 1.6.0

@stale
Copy link

stale bot commented Jul 19, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 19, 2021
@Artturin Artturin closed this May 15, 2022
@bobvanderlinden
Copy link
Member

Another attempt has been made at #184488

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

5 participants