antiprism: modernize

This commit is contained in:
Austin Horstman 2024-11-06 17:31:18 -06:00
parent 66979b30af
commit a3c4180405
No known key found for this signature in database

View File

@ -1,24 +1,33 @@
{ 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";
@ -26,4 +35,4 @@ stdenv.mkDerivation rec {
license = with licenses; [ mit ];
maintainers = with maintainers; [ AndersonTorres ];
};
}
})