depot/third_party/nixpkgs/pkgs/development/libraries/miniball/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
650 B
Nix

{ lib, 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 = lib.licenses.gpl3;
maintainers = [ lib.maintainers.erikryb ];
platforms = lib.platforms.unix;
};
}