Skip to content

Commit

Permalink
antiprism: modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Nov 6, 2024
1 parent 66979b3 commit a3c4180
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions pkgs/by-name/an/antiprism/package.nix
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 ];
};
}
})

0 comments on commit a3c4180

Please sign in to comment.