mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
guile-opengl: rewrite
This commit is contained in:
parent
08694d24f1
commit
210d5c7d00
1 changed files with 15 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue