guile-fibers: rewrite

This commit is contained in:
AndersonTorres 2021-04-15 11:50:41 -03:00
parent 6a71d0b6bf
commit 9d8fa10f60

View file

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