summary refs log tree commit diff
path: root/pkgs/development/libraries/science/biology
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2018-05-09 14:05:29 -0400
committerBen Darwin <bcdarwin@gmail.com>2018-05-09 14:05:29 -0400
commit7a64b0726a6be48a35d71ea14d5fa643b61ce240 (patch)
tree2e32ee8f5a4cbcffcdf601dc9b3950239192b45e /pkgs/development/libraries/science/biology
parenta9492eb70fdbace0efd9e8886012a8e42f332056 (diff)
downloadnixpkgs-7a64b0726a6be48a35d71ea14d5fa643b61ce240.tar
nixpkgs-7a64b0726a6be48a35d71ea14d5fa643b61ce240.tar.gz
nixpkgs-7a64b0726a6be48a35d71ea14d5fa643b61ce240.tar.bz2
nixpkgs-7a64b0726a6be48a35d71ea14d5fa643b61ce240.tar.lz
nixpkgs-7a64b0726a6be48a35d71ea14d5fa643b61ce240.tar.xz
nixpkgs-7a64b0726a6be48a35d71ea14d5fa643b61ce240.tar.zst
nixpkgs-7a64b0726a6be48a35d71ea14d5fa643b61ce240.zip
bicgl: init at 2017-09-10
Diffstat (limited to 'pkgs/development/libraries/science/biology')
-rw-r--r--pkgs/development/libraries/science/biology/bicgl/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/science/biology/bicgl/default.nix b/pkgs/development/libraries/science/biology/bicgl/default.nix
new file mode 100644
index 00000000000..3c9b8f8257c
--- /dev/null
+++ b/pkgs/development/libraries/science/biology/bicgl/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, cmake, libminc, bicpl, freeglut, mesa_glu }:
+
+stdenv.mkDerivation rec {
+  pname = "bicgl";
+  name  = "${pname}-2017-09-10";
+
+  owner = "BIC-MNI";
+
+  src = fetchFromGitHub {
+    inherit owner;
+    repo   = pname;
+    rev    = "b7f7e52d1039d6202a93d9055f516186033656cc";
+    sha256 = "0lzirdi1mf4yl8srq7vjn746sbydz7h0wjh7wy8gycy6hq04qrg4";
+  };
+
+  nativeBuildInputs = [ cmake ];
+  buildInputs = [ libminc bicpl freeglut mesa_glu ];
+
+  cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBICPL_DIR=${bicpl}/lib" ];
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/${owner}/${pname}";
+    description = "Brain Imaging Centre graphics library";
+    maintainers = with maintainers; [ bcdarwin ];
+    platforms = platforms.unix;
+    license   = licenses.free;
+  };
+}