depot/third_party/nixpkgs/pkgs/development/libraries/miniball/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
666 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation {
pname = "miniball";
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";
homepage = "https://www.inf.ethz.ch/personal/gaertner/miniball.html";
license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.erikryb ];
platforms = stdenv.lib.platforms.unix;
};
}