git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #74205 from bcdarwin/parany

ocamlPackages.parany: init at 7.0.0

commitc53fa2511aa74f9914413ea16ad532590a52b1ba authorMario Rodas <marsam@users.noreply.github.com> dateMon 23 Dec 2019, 11:20 (7 years ago) parente298a6306ddb4a
3 files changed+55
pkgs/development/ocaml-modules/parany/default.nix+22 pkgs/development/ocaml-modules/setcore/default.nix+29 pkgs/top-level/ocaml-packages.nix+4
pkgs/development/ocaml-modules/parany/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ stdenv, buildDunePackage, fetchFromGitHub, ocamlnet, setcore }:
2+
3+buildDunePackage rec {
4+ pname = "parany";
5+ version = "7.0.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "UnixJunkie";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "0kylhgi1d4gj68x40ifli7pnrxkdc6ks5mgfvlcsigqg8i8nvc7q";
12+ };
13+
14+ propagatedBuildInputs = [ ocamlnet setcore ];
15+
16+ meta = with stdenv.lib; {
17+ inherit (src.meta) homepage;
18+ description = "Generalized map/reduce for multicore computing";
19+ maintainers = [ maintainers.bcdarwin ];
20+ license = licenses.lgpl2;
21+ };
22+}
pkgs/development/ocaml-modules/setcore/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, buildDunePackage, fetchFromGitHub, autoconf }:
2+
3+buildDunePackage rec {
4+ pname = "setcore";
5+ version = "1.0.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "UnixJunkie";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "1yn660gxk2ccp7lbdq9v6pjz1c3pm08s9dl9k9l5492ld6bx8fxc";
12+ };
13+
14+ preConfigure = ''
15+ autoconf
16+ autoheader
17+ '';
18+
19+ buildInputs = [ autoconf ];
20+
21+ hardeningDisable = stdenv.lib.optional stdenv.isDarwin "strictoverflow";
22+
23+ meta = with stdenv.lib; {
24+ inherit (src.meta) homepage;
25+ description = "Generalized map/reduce for multicore computing";
26+ maintainers = [ maintainers.bcdarwin ];
27+ license = licenses.lgpl2;
28+ };
29+}
pkgs/top-level/ocaml-packages.nix+4
@@ -762,6 +762,8 @@ let
762762
763763 pa_test = callPackage ../development/ocaml-modules/pa_test { };
764764
765+ parany = callPackage ../development/ocaml-modules/parany { };
766+
765767 pipebang = callPackage ../development/ocaml-modules/pipebang { };
766768
767769 pprint = callPackage ../development/ocaml-modules/pprint { };
@@ -829,6 +831,8 @@ let
829831
830832 sedlex = callPackage ../development/ocaml-modules/sedlex { };
831833
834+ setcore = callPackage ../development/ocaml-modules/setcore { };
835+
832836 sodium = callPackage ../development/ocaml-modules/sodium { };
833837
834838 spelll = callPackage ../development/ocaml-modules/spelll { };