ocamlPackages.fiber: move source to repository
This commit is contained in:
parent
e68c7797ab
commit
18819f9228
|
@ -1,22 +1,23 @@
|
||||||
{ lib, buildDunePackage, dune_3, stdune, dyn }:
|
{ lib, buildDunePackage, fetchFromGitHub, stdune, dyn }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "fiber";
|
pname = "fiber";
|
||||||
inherit (dune_3) src version;
|
version = "unstable-2023-02-28";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ocaml-dune";
|
||||||
|
repo = "fiber";
|
||||||
|
rev = "5563b588c1313f128eafa74d66f0626c9128d34d";
|
||||||
|
hash = "sha256-18GfGXpu+uiIiCuLhIx5z5jRkem1nNWaQB6Ms0AE9sE=";
|
||||||
|
};
|
||||||
|
|
||||||
duneVersion = "3";
|
duneVersion = "3";
|
||||||
|
|
||||||
dontAddPrefix = true;
|
|
||||||
|
|
||||||
buildInputs = [ stdune dyn ];
|
buildInputs = [ stdune dyn ];
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
rm -r vendor/csexp
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Structured concurrency library";
|
description = "Structured concurrency library";
|
||||||
inherit (dune_3.meta) homepage;
|
homepage = "https://github.com/ocaml-dune/fiber";
|
||||||
maintainers = with lib.maintainers; [ ];
|
maintainers = with lib.maintainers; [ ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue