1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
nixpkgs/pkgs/applications/graphics/c3d/default.nix
2017-09-08 22:45:54 +02:00

26 lines
689 B
Nix

{ stdenv, fetchgit, cmake, itk, Cocoa }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "c3d";
version = "1.1.0";
src = fetchgit {
url = "https://git.code.sf.net/p/c3d/git";
rev = "3453f6133f0df831dcbb0d0cfbd8b26e121eb153";
sha256 = "1xgbk20w22jwvf7pa0n4lcbyx35fq56zzlslj0nvcclh6vx0b4z8";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ itk ]
++ stdenv.lib.optional stdenv.isDarwin Cocoa;
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;
};
}