aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/science/geometry/antiprism/default.nix
blob: 4691291a4257ad04301ed88b77282ac5239b47ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv
, 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 ];

  meta = with stdenv.lib; {
    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 ];
  };
}