2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-11-19 00:13:47 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, libX11
|
|
|
|
, libGL
|
|
|
|
, libGLU
|
2024-07-27 06:49:29 +00:00
|
|
|
, libglut }:
|
2020-11-19 00:13:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "antiprism";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.30";
|
2020-11-19 00:13:47 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "antiprism";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-dD3MH+KectuuKOYF7bqWtGsBo5zz+UMyY/io1tgXbgU=";
|
2020-11-19 00:13:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2024-07-27 06:49:29 +00:00
|
|
|
buildInputs = [ libX11 libGLU libGL libglut ];
|
2020-11-19 00:13:47 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-19 00:13:47 +00:00
|
|
|
homepage = "https://www.antiprism.com";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Collection of programs for generating, manipulating, transforming and viewing polyhedra";
|
2020-11-19 00:13:47 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|