2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-02-03 18:18:31 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "miniball";
|
2016-02-03 18:18:31 +01: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-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.inf.ethz.ch/personal/gaertner/miniball.html";
|
2021-01-21 18:00:13 +01:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.erikryb ];
|
|
|
|
platforms = lib.platforms.unix;
|
2016-02-03 18:18:31 +01:00
|
|
|
};
|
|
|
|
}
|