2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-11-19 00:13:47 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, libX11
|
|
|
|
, libGL
|
|
|
|
, libGLU
|
|
|
|
, freeglut }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "antiprism";
|
|
|
|
version = "0.26";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "antiprism";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-5FE6IbYKk7eMT985R9NCX3GDXE8SrdVHFcCpKeJvKtQ=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ libX11 libGLU libGL.dev freeglut.dev ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-19 00:13:47 +00:00
|
|
|
homepage = "https://www.antiprism.com";
|
|
|
|
description = "A collection of programs for generating, manipulating, transforming and viewing polyhedra";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|