mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
8696744ce9
These were now broken on Darwin; most of them were unnecessary, but best practice for the remaining ones is to use `lib.getDev`.
30 lines
688 B
Nix
30 lines
688 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, libX11
|
|
, libGL
|
|
, libGLU
|
|
, libglut }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "antiprism";
|
|
version = "0.30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "antiprism";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-dD3MH+KectuuKOYF7bqWtGsBo5zz+UMyY/io1tgXbgU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ libX11 libGLU libGL libglut ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.antiprism.com";
|
|
description = "Collection of programs for generating, manipulating, transforming and viewing polyhedra";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
};
|
|
}
|