Created
January 9, 2019 22:35
-
-
Save tbenst/87533c36bd169b08f15a7d51db3abfe7 to your computer and use it in GitHub Desktop.
cmtk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{stdenv, fetchurl, cmake}: | |
stdenv.mkDerivation { | |
name = "cmtk-3.3.1"; | |
src = fetchurl { | |
name = "cmtk-source.tar.gz"; | |
url = "https://www.nitrc.org/frs/download.php/8198/CMTK-3.3.1-Source.tar.gz/?i_agree=1&release_id=3143"; | |
sha256 = "7184a763d39ad96bb598bfd531628a34aa53e474db9e7cac4416c2a40ab10c6e"; | |
}; | |
buildInputs = [cmake]; | |
meta = { | |
description = "Computational Morphometry Toolkit "; | |
longDescription = ''A software toolkit for computational morphometry of | |
biomedical images, CMTK comprises a set of command line tools and a | |
back-end general-purpose library for processing and I/O.''; | |
license = "GPL3"; | |
homepage = https://www.nitrc.org/projects/cmtk/; | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> nix-env -f ~/code/nixpkgs/ -iA cmtk | |
installing 'cmtk-3.3.1' | |
these derivations will be built: | |
/nix/store/ghszihh5d3y10b9gxn6rz97rza16c72z-cmtk-3.3.1.drv | |
building '/nix/store/ghszihh5d3y10b9gxn6rz97rza16c72z-cmtk-3.3.1.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/zml6pkg4pmzn953vydnqlv71qz56ii1z-cmtk-source.tar.gz | |
source root is EMBOSS-6.6.0 | |
setting SOURCE_DATE_EPOCH to timestamp 1373927739 of file EMBOSS-6.6.0/jemboss/lib/jemboss.jar | |
patching sources | |
configuring | |
fixing cmake files... | |
cmake flags: -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/8acrai7rvl0fxmzbg1hygizllmzq2djd-cmtk-3.3.1/include -DCMAKE_INSTALL_LIBDIR=/nix/store/8acrai7rvl0fxmzbg1hygizllmzq2djd-cmtk-3.3.1/lib -DCMAKE_INSTALL_NAME_DIR=/nix/store/8acrai7rvl0fxmzbg1hygizllmzq2djd-cmtk-3.3.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_DEPLOYMENT_TARGET= -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=last -DCMAKE_STRIP=/nix/store/bxgwclk8kjjczlrkilwb12jhcm0n8syk-binutils-2.30/bin/strip -DCMAKE_RANLIB=/nix/store/bxgwclk8kjjczlrkilwb12jhcm0n8syk-binutils-2.30/bin/ranlib -DCMAKE_AR=/nix/store/bxgwclk8kjjczlrkilwb12jhcm0n8syk-binutils-2.30/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/8acrai7rvl0fxmzbg1hygizllmzq2djd-cmtk-3.3.1 | |
CMake Error: The source directory "/build/EMBOSS-6.6.0" does not appear to contain CMakeLists.txt. | |
Specify --help for usage, or press the help button on the CMake GUI. | |
builder for '/nix/store/ghszihh5d3y10b9gxn6rz97rza16c72z-cmtk-3.3.1.drv' failed with exit code 1 | |
error: build of '/nix/store/ghszihh5d3y10b9gxn6rz97rza16c72z-cmtk-3.3.1.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment