depot/pkgs/development/libraries/science/math/libhomfly/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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