8 stdenv.mkDerivation rec {
11 inherit (bpp-core) version;
13 src = fetchFromGitHub {
17 sha256 = "1mc09g8jswzsa4wgrfv59jxn15ys3q8s0227p1j838wkphlwn2qk";
20 nativeBuildInputs = [ cmake ];
21 buildInputs = [ bpp-core ];
24 substituteInPlace $out/lib/cmake/${pname}/${pname}-targets.cmake \
25 --replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
27 # prevents cmake from exporting incorrect INTERFACE_INCLUDE_DIRECTORIES
28 # of form /nix/store/.../nix/store/.../include,
29 # probably due to relative vs absolute path issue
31 doCheck = !stdenv.hostPlatform.isDarwin;
33 meta = bpp-core.meta // {
34 homepage = "https://github.com/BioPP/bpp-seq";
35 changelog = "https://github.com/BioPP/bpp-seq/blob/master/ChangeLog";