guile-fibers: rewrite
This commit is contained in:
parent
6a71d0b6bf
commit
9d8fa10f60
|
@ -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";
|
version = "1.0.0";
|
||||||
name = "guile-fibers-${version}";
|
|
||||||
in stdenv.mkDerivation {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wingo";
|
owner = "wingo";
|
||||||
repo = "fibers";
|
repo = "fibers";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1r47m1m112kxf23xny99f0qkqsk6626iyc5jp7vzndfiyp5yskwi";
|
hash = "sha256-kU/ty/XRNfv3ubIwH40wZmo8MXApeduHcH2KEGqoh+Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ guile texinfo ];
|
autoreconfHook
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
guile
|
||||||
|
texinfo
|
||||||
|
];
|
||||||
|
|
||||||
autoreconfPhase = "./autogen.sh";
|
autoreconfPhase = "./autogen.sh";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Concurrent ML-like concurrency for Guile";
|
|
||||||
homepage = "https://github.com/wingo/fibers";
|
homepage = "https://github.com/wingo/fibers";
|
||||||
|
description = "Concurrent ML-like concurrency for Guile";
|
||||||
license = licenses.lgpl3Plus;
|
license = licenses.lgpl3Plus;
|
||||||
maintainers = with maintainers; [ vyp ];
|
maintainers = with maintainers; [ vyp ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|
Loading…
Reference in New Issue