Merge pull request #23677 from bcdarwin/c3d

c3d: init at 1.1.0
This commit is contained in:
Michael Raskin 2017-03-18 19:07:09 +01:00 committed by GitHub
commit 68cf4d1dfc
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchgit, cmake, itk }:
stdenv.mkDerivation rec {
_name = "c3d";
_version = "1.1.0";
name = "${_name}-${_version}";
src = fetchgit {
url = "https://git.code.sf.net/p/c3d/git";
rev = "3453f6133f0df831dcbb0d0cfbd8b26e121eb153";
sha256 = "1xgbk20w22jwvf7pa0n4lcbyx35fq56zzlslj0nvcclh6vx0b4z8";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ itk ];
meta = with stdenv.lib; {
homepage = http://www.itksnap.org/c3d;
description = "Medical imaging processing tool";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.gpl2;
};
}

View File

@ -703,6 +703,8 @@ with pkgs;
burpsuite = callPackage ../tools/networking/burpsuite {};
c3d = callPackage ../applications/graphics/c3d {};
cabal2nix = haskell.lib.overrideCabal haskellPackages.cabal2nix (drv: {
isLibrary = false;
enableSharedExecutables = false;