@@ -0,0 +1,29 @@
1+{ stdenv
2+, fetchFromGitHub
3+, autoreconfHook
4+, libX11
5+, libGL
6+, libGLU
7+, freeglut }:
8+
9+stdenv.mkDerivation rec {
10+ pname = "antiprism";
11+ version = "0.26";
12+
13+ src = fetchFromGitHub {
14+ owner = "antiprism";
15+ repo = pname;
16+ rev = version;
17+ sha256 = "sha256-5FE6IbYKk7eMT985R9NCX3GDXE8SrdVHFcCpKeJvKtQ=";
18+ };
19+
20+ nativeBuildInputs = [ autoreconfHook ];
21+ buildInputs = [ libX11 libGLU libGL.dev freeglut.dev ];
22+
23+ meta = with stdenv.lib; {
24+ homepage = "https://www.antiprism.com";
25+ description = "A collection of programs for generating, manipulating, transforming and viewing polyhedra";
26+ license = with licenses; [ mit ];
27+ maintainers = with maintainers; [ AndersonTorres ];
28+ };
29+}