2021-04-15 15:50:41 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, guile
|
|
|
|
, pkg-config
|
|
|
|
, texinfo
|
|
|
|
}:
|
2017-09-24 11:01:47 +01:00
|
|
|
|
2021-04-15 15:50:41 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "guile-fibers";
|
2017-09-24 11:01:47 +01:00
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wingo";
|
|
|
|
repo = "fibers";
|
|
|
|
rev = "v${version}";
|
2021-04-15 15:50:41 +01:00
|
|
|
hash = "sha256-kU/ty/XRNfv3ubIwH40wZmo8MXApeduHcH2KEGqoh+Q=";
|
2017-09-24 11:01:47 +01:00
|
|
|
};
|
|
|
|
|
2021-04-15 15:50:41 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
guile
|
|
|
|
texinfo
|
|
|
|
];
|
2017-09-24 11:01:47 +01:00
|
|
|
|
|
|
|
autoreconfPhase = "./autogen.sh";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/wingo/fibers";
|
2021-04-15 15:50:41 +01:00
|
|
|
description = "Concurrent ML-like concurrency for Guile";
|
2017-09-24 11:01:47 +01:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ vyp ];
|
2018-03-18 21:24:45 +00:00
|
|
|
platforms = platforms.linux;
|
2017-09-24 11:01:47 +01:00
|
|
|
};
|
|
|
|
}
|