File tree Expand file tree Collapse file tree 6 files changed +23
-8
lines changed
development/ocaml-modules/posix Expand file tree Collapse file tree 6 files changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ buildDunePackage rec {
1313 src = fetchFromGitHub {
1414 owner = "savonet" ;
1515 repo = "ocaml-posix" ;
16- rev = "v${ version } " ;
16+ tag = "v${ version } " ;
1717 hash = "sha256-JKJIiuo4lW8DmcK1mJlT22784J1NS2ig860jDbRIjIo=" ;
1818 } ;
1919
20- duneVersion = "3" ;
2120 minimalOCamlVersion = "4.08" ;
2221
2322 propagatedBuildInputs = [
Original file line number Diff line number Diff line change 1+ {
2+ buildDunePackage ,
3+ posix-base ,
4+ unix-errno ,
5+ } :
6+
7+ buildDunePackage {
8+ pname = "posix-math2" ;
9+ inherit ( posix-base ) src version ;
10+
11+ propagatedBuildInputs = [
12+ posix-base
13+ unix-errno
14+ ] ;
15+
16+ meta = posix-base . meta // {
17+ description = "Bindings for posix math" ;
18+ } ;
19+ }
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildDunePackage {
55
66 inherit ( posix-base ) version src ;
77
8- duneVersion = "3 " ;
8+ minimalOCamlVersion = "4.12 " ;
99
1010 propagatedBuildInputs = [ posix-base ] ;
1111
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ buildDunePackage {
1111
1212 inherit ( posix-base ) version src ;
1313
14- duneVersion = "3" ;
15-
1614 propagatedBuildInputs = [
1715 posix-base
1816 posix-types
Original file line number Diff line number Diff line change @@ -5,9 +5,6 @@ buildDunePackage {
55
66 inherit ( posix-base ) version src ;
77
8- minimalOCamlVersion = "4.03" ;
9- duneVersion = "3" ;
10-
118 propagatedBuildInputs = [ posix-base ] ;
129
1310 meta = posix-base . meta // {
Original file line number Diff line number Diff line change @@ -1570,6 +1570,8 @@ let
15701570
15711571 posix-base = callPackage ../development/ocaml-modules/posix/base.nix { } ;
15721572
1573+ posix-math2 = callPackage ../development/ocaml-modules/posix/math2.nix { } ;
1574+
15731575 posix-socket = callPackage ../development/ocaml-modules/posix/socket.nix { } ;
15741576
15751577 posix-time2 = callPackage ../development/ocaml-modules/posix/time2.nix { } ;
You can’t perform that action at this time.
0 commit comments