summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2018-08-05 16:46:08 +0200
committerTimo Kaufmann <timokau@zoho.com>2018-08-05 16:50:33 +0200
commitaabc55e154f54ca8b5599ec6075b5b3cf1e32999 (patch)
treea92dfd0faf29abc397d8ef80c812c0c459ff83db /pkgs/development
parent34c2f4150bfed4a5aa48b89f3562e2fddc393cf7 (diff)
downloadnixlib-aabc55e154f54ca8b5599ec6075b5b3cf1e32999.tar
nixlib-aabc55e154f54ca8b5599ec6075b5b3cf1e32999.tar.gz
nixlib-aabc55e154f54ca8b5599ec6075b5b3cf1e32999.tar.bz2
nixlib-aabc55e154f54ca8b5599ec6075b5b3cf1e32999.tar.lz
nixlib-aabc55e154f54ca8b5599ec6075b5b3cf1e32999.tar.xz
nixlib-aabc55e154f54ca8b5599ec6075b5b3cf1e32999.tar.zst
nixlib-aabc55e154f54ca8b5599ec6075b5b3cf1e32999.zip
libhomfly: init at 1.02r5
libhomfly is a new standard package for sage. See
https://trac.sagemath.org/ticket/25705
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/science/math/libhomfly/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/libraries/science/math/libhomfly/default.nix b/pkgs/development/libraries/science/math/libhomfly/default.nix
new file mode 100644
index 000000000000..e96ee475d7d2
--- /dev/null
+++ b/pkgs/development/libraries/science/math/libhomfly/default.nix
@@ -0,0 +1,35 @@
+{ stdenv
+, fetchFromGitHub
+, autoreconfHook
+, boehmgc
+}:
+
+stdenv.mkDerivation rec {
+  version = "1.02r5";
+  name = "llibhomfly-${version}";
+
+  src = fetchFromGitHub {
+    owner = "miguelmarco";
+    repo = "libhomfly";
+    rev = version;
+    sha256 = "1szv8iwlhvmy3saigi15xz8vgch92p2lbsm6440v5s8vxj455bvd";
+  };
+
+  buildInputs = [
+    boehmgc
+  ];
+
+  nativeBuildInputs = [
+    autoreconfHook
+  ];
+
+  doCheck = true;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/miguelmarco/libhomfly/;
+    description = "Library to compute the homfly polynomial of knots and links";
+    license = licenses.unlicense;
+    maintainers = with maintainers; [ timokau ];
+    platforms = platforms.all;
+  };
+}