2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv
|
2018-08-05 07:44:30 -07:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-25 11:52:32 -07:00
|
|
|
version = "1.1";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libbraiding";
|
2018-08-05 07:44:30 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "miguelmarco";
|
|
|
|
repo = "libbraiding";
|
|
|
|
rev = version;
|
2020-09-25 11:52:32 -07:00
|
|
|
sha256 = "1n1j58y9jaiv0ya0y4fpfb3b05wv0h6k2babpnk2zifjw26xr366";
|
2018-08-05 07:44:30 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
# no tests included for now (2018-08-05), but can't hurt to activate
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/miguelmarco/libbraiding/";
|
2018-08-05 07:44:30 -07:00
|
|
|
description = "C++ library for computations on braid groups";
|
|
|
|
longDescription = ''
|
|
|
|
A library to compute several properties of braids, including centralizer and conjugacy check.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl3;
|
2020-11-17 11:41:33 -08:00
|
|
|
maintainers = teams.sage.members;
|
2018-08-05 07:44:30 -07:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|