2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "miniball";
|
|
|
|
version = "3.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.inf.ethz.ch/personal/gaertner/miniball/Miniball.hpp";
|
|
|
|
sha256 = "1piap5v8wqq0aachrq6j50qkr01gzpyndl6vf661vyykrfq0nnd2";
|
|
|
|
};
|
|
|
|
|
2021-08-08 23:34:03 +00:00
|
|
|
dontUnpack = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
cp $src $out/include/miniball.hpp
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Smallest Enclosing Balls of Points";
|
|
|
|
homepage = "https://www.inf.ethz.ch/personal/gaertner/miniball.html";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.erikryb ];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|