lol
1{ lib, stdenv
2, fetchFromGitHub
3, autoreconfHook
4, boehmgc
5}:
6
7stdenv.mkDerivation rec {
8 version = "1.02r6";
9 pname = "libhomfly";
10
11 src = fetchFromGitHub {
12 owner = "miguelmarco";
13 repo = "libhomfly";
14 rev = version;
15 sha256 = "sha256-s1Hgy6S9+uREKsgjOVQdQfnds6oSLo5UWTrt5DJnY2s=";
16 };
17
18 buildInputs = [
19 boehmgc
20 ];
21
22 nativeBuildInputs = [
23 autoreconfHook
24 ];
25
26 doCheck = true;
27
28 meta = with lib; {
29 homepage = "https://github.com/miguelmarco/libhomfly/";
30 description = "Library to compute the homfly polynomial of knots and links";
31 license = licenses.unlicense;
32 maintainers = teams.sage.members;
33 platforms = platforms.all;
34 };
35}