2016-02-03 09:18:31 -08:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "miniball";
|
2016-02-03 09:18:31 -08:00
|
|
|
version = "3.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.inf.ethz.ch/personal/gaertner/miniball/Miniball.hpp";
|
|
|
|
sha256 = "1piap5v8wqq0aachrq6j50qkr01gzpyndl6vf661vyykrfq0nnd2";
|
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
cp $src $out/include/miniball.hpp
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Smallest Enclosing Balls of Points";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://www.inf.ethz.ch/personal/gaertner/miniball.html";
|
2016-02-03 09:18:31 -08:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.erikryb ];
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-02-03 09:18:31 -08:00
|
|
|
};
|
|
|
|
}
|