1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/libraries/miniball/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

27 lines
678 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "miniball-${version}";
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;
};
}