nixpkgs/pkgs/development/guile-modules/guile-fibers/default.nix
2021-04-15 17:08:04 -03:00

40 lines
722 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, guile
, pkg-config
, texinfo
}:
stdenv.mkDerivation rec {
pname = "guile-fibers";
version = "1.0.0";
src = fetchFromGitHub {
owner = "wingo";
repo = "fibers";
rev = "v${version}";
hash = "sha256-kU/ty/XRNfv3ubIwH40wZmo8MXApeduHcH2KEGqoh+Q=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
guile
texinfo
];
autoreconfPhase = "./autogen.sh";
meta = with lib; {
homepage = "https://github.com/wingo/fibers";
description = "Concurrent ML-like concurrency for Guile";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ vyp ];
platforms = platforms.linux;
};
}