antiprism: modernize
This commit is contained in:
parent
66979b30af
commit
a3c4180405
@ -1,24 +1,33 @@
|
|||||||
{ lib, stdenv
|
{
|
||||||
, fetchFromGitHub
|
lib,
|
||||||
, autoreconfHook
|
stdenv,
|
||||||
, libX11
|
fetchFromGitHub,
|
||||||
, libGL
|
autoreconfHook,
|
||||||
, libGLU
|
libX11,
|
||||||
, libglut }:
|
libGL,
|
||||||
|
libGLU,
|
||||||
|
libglut,
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "antiprism";
|
pname = "antiprism";
|
||||||
version = "0.32";
|
version = "0.32";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "antiprism";
|
owner = "antiprism";
|
||||||
repo = pname;
|
repo = "antiprism";
|
||||||
rev = version;
|
rev = "refs/tags/${finalAttrs.version}";
|
||||||
sha256 = "sha256-0FkaIsZixYHP45H0gytnzlpRvNd8mMYjW22w15z3RH8=";
|
hash = "sha256-0FkaIsZixYHP45H0gytnzlpRvNd8mMYjW22w15z3RH8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
buildInputs = [ libX11 libGLU libGL libglut ];
|
|
||||||
|
buildInputs = [
|
||||||
|
libX11
|
||||||
|
libGLU
|
||||||
|
libGL
|
||||||
|
libglut
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.antiprism.com";
|
homepage = "https://www.antiprism.com";
|
||||||
@ -26,4 +35,4 @@ stdenv.mkDerivation rec {
|
|||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user