depot/third_party/nixpkgs/pkgs/development/guile-modules/guile-fibers/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

41 lines
751 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, guile
, libevent
, pkg-config
, texinfo
}:
stdenv.mkDerivation rec {
pname = "guile-fibers";
version = "1.3.1";
src = fetchFromGitHub {
owner = "wingo";
repo = "fibers";
rev = "v${version}";
hash = "sha256-jJKA5JEHsmqQ/IKb1aNmOtoVaGKNjcgTKyo5VCiJbXM=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
guile
libevent
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 = guile.meta.platforms;
};
}