@@ -0,0 +1,28 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, guile, texinfo }:
2+
3+let
4+ version = "1.0.0";
5+ name = "guile-fibers-${version}";
6+in stdenv.mkDerivation {
7+ inherit name;
8+
9+ src = fetchFromGitHub {
10+ owner = "wingo";
11+ repo = "fibers";
12+ rev = "v${version}";
13+ sha256 = "1r47m1m112kxf23xny99f0qkqsk6626iyc5jp7vzndfiyp5yskwi";
14+ };
15+
16+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
17+ buildInputs = [ guile texinfo ];
18+
19+ autoreconfPhase = "./autogen.sh";
20+
21+ meta = with stdenv.lib; {
22+ description = "Concurrent ML-like concurrency for Guile";
23+ homepage = https://github.com/wingo/fibers;
24+ license = licenses.lgpl3Plus;
25+ maintainers = with maintainers; [ vyp ];
26+ platforms = platforms.all;
27+ };
28+}