guile-opengl: rewrite

This commit is contained in:
AndersonTorres 2021-04-15 11:58:14 -03:00
parent 08694d24f1
commit 210d5c7d00

View file

@ -1,21 +1,27 @@
{ lib, stdenv, fetchurl, pkg-config, guile }:
{ lib
, stdenv
, fetchurl
, guile
, pkg-config
}:
let
name = "guile-opengl-${version}";
stdenv.mkDerivation rec {
pname = "guile-opengl";
version = "0.1.0";
in stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://gnu/guile-opengl/${name}.tar.gz";
sha256 = "13qfx4xh8baryxqrv986l848ygd0piqwm6s2s90pxk9c0m9vklim";
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-NdK5UwUszX5B0kKbynG8oD2PCKIGpZ1x91ktBDvpDo8=";
};
nativeBuildInputs = [ pkg-config guile ];
nativeBuildInputs = [
pkg-config
guile
];
meta = with lib; {
description = "Guile bindings for the OpenGL graphics API";
homepage = "https://www.gnu.org/software/guile-opengl/";
description = "Guile bindings for the OpenGL graphics API";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ vyp ];
platforms = platforms.unix;