Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
35 lines
681 B
Nix
35 lines
681 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, boehmgc
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.02r6";
|
|
pname = "libhomfly";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "miguelmarco";
|
|
repo = "libhomfly";
|
|
rev = version;
|
|
sha256 = "sha256-s1Hgy6S9+uREKsgjOVQdQfnds6oSLo5UWTrt5DJnY2s=";
|
|
};
|
|
|
|
buildInputs = [
|
|
boehmgc
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/miguelmarco/libhomfly/";
|
|
description = "Library to compute the homfly polynomial of knots and links";
|
|
license = licenses.unlicense;
|
|
maintainers = teams.sage.members;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|