tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
guile-reader: init at 0.6.2
AndersonTorres
7 years ago
49008f9c
4a59bc4c
+48
2 changed files
expand all
collapse all
unified
split
pkgs
development
guile-modules
guile-reader
default.nix
top-level
all-packages.nix
+46
pkgs/development/guile-modules/guile-reader/default.nix
···
1
1
+
{ stdenv, fetchurl, fetchpatch, pkgconfig
2
2
+
, gperf, guile, guile-lib, libffi }:
3
3
+
4
4
+
with stdenv.lib;
5
5
+
stdenv.mkDerivation rec {
6
6
+
7
7
+
name = "guile-reader-${version}";
8
8
+
version = "0.6.2";
9
9
+
10
10
+
src = fetchurl {
11
11
+
url = "http://download.savannah.nongnu.org/releases/guile-reader/${name}.tar.gz";
12
12
+
sha256 = "0592s2s8ampqmqwilc4fvcild6rb9gy79di6vxv5kcdmv23abkgx";
13
13
+
};
14
14
+
15
15
+
patches = [
16
16
+
(fetchpatch {
17
17
+
name = "0001-fix-prototypes.patch";
18
18
+
url = https://aur.archlinux.org/cgit/aur.git/plain/reader_flag.patch?h=guile-reader&id=63ac0413a1aa65eb6a0db57bc16ef4481b70dc31;
19
19
+
sha256 = "01ar34xgpxyli8v2bk4kj6876kyrxhxhfpv9v07lx36d254bzrjb";
20
20
+
}) ];
21
21
+
22
22
+
nativeBuildInputs = [ pkgconfig ];
23
23
+
buildInputs = [ gperf guile guile-lib libffi ];
24
24
+
25
25
+
GUILE_SITE="${guile-lib}/share/guile/site";
26
26
+
27
27
+
configureFlags = [ "--with-guilemoduledir=$(out)/share/guile/site" ];
28
28
+
29
29
+
meta = with stdenv.lib; {
30
30
+
description = "A simple framework for building readers for GNU Guile";
31
31
+
longDescription = ''
32
32
+
Guile-Reader is a simple framework for building readers for GNU
33
33
+
Guile.
34
34
+
35
35
+
The idea is to make it easy to build procedures that extend
36
36
+
Guile's read procedure. Readers supporting various syntax
37
37
+
variants can easily be written, possibly by re-using existing
38
38
+
"token readers" of a standard Scheme readers. For example, it
39
39
+
is used to implement Skribilo's R5RS-derived document syntax.
40
40
+
'';
41
41
+
homepage = https://www.gnu.org/software/guile-reader;
42
42
+
license = licenses.lgpl3Plus;
43
43
+
maintainers = with maintainers; [ AndersonTorres ];
44
44
+
platforms = platforms.gnu;
45
45
+
};
46
46
+
}
+2
pkgs/top-level/all-packages.nix
···
7645
7645
7646
7646
guile-opengl = callPackage ../development/guile-modules/guile-opengl { };
7647
7647
7648
7648
+
guile-reader = callPackage ../development/guile-modules/guile-reader { };
7649
7649
+
7648
7650
guile-sdl = callPackage ../development/guile-modules/guile-sdl { };
7649
7651
7650
7652
guile-sdl2 = callPackage ../development/guile-modules/guile-sdl2 { };