summary refs log tree commit diff
path: root/pkgs/development/guile-modules/guile-fibers/default.nix
blob: 3521853187c441caf991a74f8cddd55548a5cf65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, guile, texinfo }:

let
  version = "1.0.0";
  name = "guile-fibers-${version}";
in stdenv.mkDerivation {
  inherit name;

  src = fetchFromGitHub {
    owner = "wingo";
    repo = "fibers";
    rev = "v${version}";
    sha256 = "1r47m1m112kxf23xny99f0qkqsk6626iyc5jp7vzndfiyp5yskwi";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];
  buildInputs = [ guile texinfo ];

  autoreconfPhase = "./autogen.sh";

  meta = with lib; {
    description = "Concurrent ML-like concurrency for Guile";
    homepage = "https://github.com/wingo/fibers";
    license = licenses.lgpl3Plus;
    maintainers = with maintainers; [ vyp ];
    platforms = platforms.linux;
  };
}