libhomfly: init at 1.02r5

libhomfly is a new standard package for sage. See
https://trac.sagemath.org/ticket/25705
This commit is contained in:
Timo Kaufmann 2018-08-05 16:46:08 +02:00
parent 34c2f4150b
commit aabc55e154
2 changed files with 37 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -20502,6 +20502,8 @@ with pkgs;
libbraiding = callPackage ../development/libraries/science/math/libbraiding { };
libhomfly = callPackage ../development/libraries/science/math/libhomfly { };
# We have essentially 4 permutations of liblapack: version 3.4.1 or 3.5.0,
# and with or without atlas as a dependency. The default `liblapack` is 3.4.1
# with atlas. Atlas, when built with liblapack as a dependency, uses 3.5.0