Skip to content

Commit

Permalink
minc-tools: init at 2.3.00
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdarwin committed Feb 23, 2016
1 parent c49c384 commit 69c628e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/applications/science/biology/minc-tools/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, fetchurl, perl, cmake, flex, bison, libminc }:

stdenv.mkDerivation rec {
_name = "minc-tools";
name = "${_name}-2.3.00";

src = fetchurl {
url = "https://github.com/BIC-MNI/${_name}/archive/${_name}-2-3-00.tar.gz";
sha256 = "1d457vrwy2fl6ga2axnwn1cchkx2rmgixfzyb1zjxb06cxkfj1dm";
};

nativeBuildInputs = [ cmake flex bison ] ++ (if doCheck then [ perl ] else [ ]);
buildInputs = [ libminc ];

cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];

checkPhase = "ctest";
doCheck = true;

meta = with stdenv.lib; {
homepage = https://github.com/BIC-MNI/minc-tools;
description = "Command-line utilities for working with MINC files";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15181,6 +15181,8 @@ let

mrbayes = callPackage ../applications/science/biology/mrbayes { };

minc_tools = callPackage ../applications/science/biology/minc-tools { };

ncbi_tools = callPackage ../applications/science/biology/ncbi-tools { };

paml = callPackage ../applications/science/biology/paml { };
Expand Down

0 comments on commit 69c628e

Please sign in to comment.