3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #74205 from bcdarwin/parany

ocamlPackages.parany: init at 7.0.0
This commit is contained in:
Mario Rodas 2019-12-23 11:20:01 -05:00 committed by GitHub
commit c53fa2511a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, buildDunePackage, fetchFromGitHub, ocamlnet, setcore }:
buildDunePackage rec {
pname = "parany";
version = "7.0.0";
src = fetchFromGitHub {
owner = "UnixJunkie";
repo = pname;
rev = "v${version}";
sha256 = "0kylhgi1d4gj68x40ifli7pnrxkdc6ks5mgfvlcsigqg8i8nvc7q";
};
propagatedBuildInputs = [ ocamlnet setcore ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Generalized map/reduce for multicore computing";
maintainers = [ maintainers.bcdarwin ];
license = licenses.lgpl2;
};
}

View file

@ -0,0 +1,29 @@
{ stdenv, buildDunePackage, fetchFromGitHub, autoconf }:
buildDunePackage rec {
pname = "setcore";
version = "1.0.1";
src = fetchFromGitHub {
owner = "UnixJunkie";
repo = pname;
rev = "v${version}";
sha256 = "1yn660gxk2ccp7lbdq9v6pjz1c3pm08s9dl9k9l5492ld6bx8fxc";
};
preConfigure = ''
autoconf
autoheader
'';
buildInputs = [ autoconf ];
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "strictoverflow";
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Generalized map/reduce for multicore computing";
maintainers = [ maintainers.bcdarwin ];
license = licenses.lgpl2;
};
}

View file

@ -762,6 +762,8 @@ let
pa_test = callPackage ../development/ocaml-modules/pa_test { }; pa_test = callPackage ../development/ocaml-modules/pa_test { };
parany = callPackage ../development/ocaml-modules/parany { };
pipebang = callPackage ../development/ocaml-modules/pipebang { }; pipebang = callPackage ../development/ocaml-modules/pipebang { };
pprint = callPackage ../development/ocaml-modules/pprint { }; pprint = callPackage ../development/ocaml-modules/pprint { };
@ -829,6 +831,8 @@ let
sedlex = callPackage ../development/ocaml-modules/sedlex { }; sedlex = callPackage ../development/ocaml-modules/sedlex { };
setcore = callPackage ../development/ocaml-modules/setcore { };
sodium = callPackage ../development/ocaml-modules/sodium { }; sodium = callPackage ../development/ocaml-modules/sodium { };
spelll = callPackage ../development/ocaml-modules/spelll { }; spelll = callPackage ../development/ocaml-modules/spelll { };