nixpkgs/pkgs/development/guile-modules/guile-fibers/default.nix

40 lines
722 B
Nix
Raw Normal View History

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";
meta = with lib; {
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
};
}