nixpkgs/pkgs/applications/graphics/c3d/default.nix

25 lines
673 B
Nix
Raw Normal View History

{ stdenv, fetchgit, cmake, itk4, Cocoa }:
2017-03-09 22:00:30 +00:00
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
2017-09-08 20:45:08 +00:00
pname = "c3d";
version = "unstable-2019-10-22";
2017-03-09 22:00:30 +00:00
src = fetchgit {
url = "https://github.com/pyushkevich/c3d";
rev = "c04e2b84568654665c64d8843378c8bbd58ba9b0";
sha256 = "0lzldxvshl9q362mg76byc7s5zc9qx7mxf2wgyij5vysx8mihx3q";
2017-03-09 22:00:30 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ itk4 ]
2017-09-08 20:45:08 +00:00
++ stdenv.lib.optional stdenv.isDarwin Cocoa;
2017-03-09 22:00:30 +00:00
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;
};
}