summary refs log tree commit diff
path: root/pkgs/development/libraries/medfile
diff options
context:
space:
mode:
authorAndré-Patrick Bubel <code@apb.name>2018-05-28 21:52:55 +0200
committerAndré-Patrick Bubel <code@apb.name>2018-05-30 16:38:49 +0200
commitaa637fe12acf45eb86a2c3084be6e93c3f6b39ae (patch)
tree80118d46f0a8999de3d45a5733c602d9e66bbc6d /pkgs/development/libraries/medfile
parentd90eea8cff60490249a614813a76ddd8afa517f8 (diff)
downloadnixpkgs-aa637fe12acf45eb86a2c3084be6e93c3f6b39ae.tar
nixpkgs-aa637fe12acf45eb86a2c3084be6e93c3f6b39ae.tar.gz
nixpkgs-aa637fe12acf45eb86a2c3084be6e93c3f6b39ae.tar.bz2
nixpkgs-aa637fe12acf45eb86a2c3084be6e93c3f6b39ae.tar.lz
nixpkgs-aa637fe12acf45eb86a2c3084be6e93c3f6b39ae.tar.xz
nixpkgs-aa637fe12acf45eb86a2c3084be6e93c3f6b39ae.tar.zst
nixpkgs-aa637fe12acf45eb86a2c3084be6e93c3f6b39ae.zip
medfile: init at 3.3.1
Diffstat (limited to 'pkgs/development/libraries/medfile')
-rw-r--r--pkgs/development/libraries/medfile/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/medfile/default.nix b/pkgs/development/libraries/medfile/default.nix
new file mode 100644
index 00000000000..5a29a9219fb
--- /dev/null
+++ b/pkgs/development/libraries/medfile/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, cmake, hdf5 }:
+
+stdenv.mkDerivation rec {
+  name = "medfile-${version}";
+  version = "3.3.1";
+
+  src = fetchurl {
+    url = "http://files.salome-platform.org/Salome/other/med-${version}.tar.gz";
+    sha256 = "1215sal10xp6xirgggdszay2bmx0sxhn9pgh7x0wg2w32gw1wqyx";
+  };
+
+  buildInputs = [ cmake hdf5 ];
+
+  checkPhase = "make test";
+
+  postInstall = "rm -r $out/bin/testc";
+
+  meta = with stdenv.lib; {
+    description = "Library to read and write MED files";
+    homepage = http://salome-platform.org/;
+    platforms = platforms.linux;
+    license = licenses.lgpl3Plus;
+  };
+}