2021-01-18 22:50:56 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, guile, texinfo }:
|
2017-09-24 03:01:47 -07:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-24 03:30:43 -07:00
|
|
|
buildInputs = [ guile texinfo ];
|
2017-09-24 03:01:47 -07:00
|
|
|
|
|
|
|
autoreconfPhase = "./autogen.sh";
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2017-09-24 03:01:47 -07:00
|
|
|
description = "Concurrent ML-like concurrency for Guile";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/wingo/fibers";
|
2017-09-24 03:01:47 -07:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ vyp ];
|
2018-03-18 14:24:45 -07:00
|
|
|
platforms = platforms.linux;
|
2017-09-24 03:01:47 -07:00
|
|
|
};
|
|
|
|
}
|