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