depot/pkgs/by-name/gu/guile-fibers/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

47 lines
811 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=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
guile
pkg-config
texinfo # for makeinfo
];
buildInputs = [
guile
libevent
];
makeFlags = [
"GUILE_AUTO_COMPILE=0"
];
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;
};
}