-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66979b3
commit a3c4180
Showing
1 changed file
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,38 @@ | ||
{ lib, stdenv | ||
, fetchFromGitHub | ||
, autoreconfHook | ||
, libX11 | ||
, libGL | ||
, libGLU | ||
, libglut }: | ||
{ | ||
lib, | ||
stdenv, | ||
fetchFromGitHub, | ||
autoreconfHook, | ||
libX11, | ||
libGL, | ||
libGLU, | ||
libglut, | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
stdenv.mkDerivation (finalAttrs: { | ||
pname = "antiprism"; | ||
version = "0.32"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "antiprism"; | ||
repo = pname; | ||
rev = version; | ||
sha256 = "sha256-0FkaIsZixYHP45H0gytnzlpRvNd8mMYjW22w15z3RH8="; | ||
repo = "antiprism"; | ||
rev = "refs/tags/${finalAttrs.version}"; | ||
hash = "sha256-0FkaIsZixYHP45H0gytnzlpRvNd8mMYjW22w15z3RH8="; | ||
}; | ||
|
||
nativeBuildInputs = [ autoreconfHook ]; | ||
buildInputs = [ libX11 libGLU libGL libglut ]; | ||
|
||
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 ]; | ||
}; | ||
} | ||
}) |