1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

ocamlPackages.fiber: move source to repository

This commit is contained in:
Mario Rodas 2023-03-03 04:20:00 +00:00
parent e68c7797ab
commit 18819f9228

View file

@ -1,22 +1,23 @@
{ lib, buildDunePackage, dune_3, stdune, dyn }:
{ lib, buildDunePackage, fetchFromGitHub, stdune, dyn }:
buildDunePackage rec {
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";
dontAddPrefix = true;
buildInputs = [ stdune dyn ];
preBuild = ''
rm -r vendor/csexp
'';
meta = with lib; {
description = "Structured concurrency library";
inherit (dune_3.meta) homepage;
homepage = "https://github.com/ocaml-dune/fiber";
maintainers = with lib.maintainers; [ ];
license = licenses.mit;
};