Skip to content

Commit

Permalink
miniball: init at 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erikryb committed Feb 3, 2016
1 parent 1dce7c0 commit 1707152
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/development/libraries/miniball/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2321,6 +2321,8 @@ let

miniupnpd = callPackage ../tools/networking/miniupnpd { };

miniball = callPackage ../development/libraries/miniball { };

minixml = callPackage ../development/libraries/minixml { };

mjpegtools = callPackage ../tools/video/mjpegtools { };
Expand Down

0 comments on commit 1707152

Please sign in to comment.