Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f3fcf1b0a9b0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1291111674ea
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on May 16, 2018

  1. Copy the full SHA
    c899650 View commit details
  2. Merge pull request #40615 from dtzWill/fix/dyncall-touchup

    dyncall: install cmake modules, man pages, use upstream's preferred URL
    dtzWill authored May 16, 2018
    Copy the full SHA
    1291111 View commit details
Showing with 17 additions and 3 deletions.
  1. +17 −3 pkgs/development/libraries/dyncall/default.nix
20 changes: 17 additions & 3 deletions pkgs/development/libraries/dyncall/default.nix
Original file line number Diff line number Diff line change
@@ -10,12 +10,26 @@ stdenv.mkDerivation rec {
sha256 = "d1b6d9753d67dcd4d9ea0708ed4a3018fb5bfc1eca5f37537fba2bc4f90748f2";
};

doCheck = true;
checkTarget = "run-tests";
# XXX: broken tests, failures masked, lets avoid crashing a bunch for now :)
doCheck = false;

# install bits not automatically installed
postInstall = ''
# install cmake modules to make using dyncall easier
# This is essentially what -DINSTALL_CMAKE_MODULES=ON if using cmake build
# We don't use the cmake-based build since it installs different set of headers
# (mostly fewer headers, but installs dyncall_alloc_wx.h "instead" dyncall_alloc.h)
# and we'd have to patch the cmake module installation to not use CMAKE_ROOT anyway :).
install -D -t $out/lib/cmake ./buildsys/cmake/Modules/Find*.cmake
# manpages are nice, install them
# doing this is in the project's "ToDo", so check this when updating!
install -D -t $out/share/man/man3 ./*/*.3
'';

meta = with stdenv.lib; {
description = "Highly dynamic multi-platform foreign function call interface library";
homepage = http://dyncall.org;
homepage = http://www.dyncall.org;
license = licenses.isc;
maintainers = with maintainers; [ dtzWill ];
};