-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c30fbc3
commit c2062ec
Showing
6 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ ocamlPackages, lib }: | ||
|
||
with ocamlPackages; | ||
|
||
buildDunePackage { | ||
pname = "bson"; | ||
src = builtins.fetchurl { | ||
url = https://github.com/anmonteiro/ocaml-mongodb/archive/535ae1b003b9c8a3844b92a78d2123881f2d404b.tar.gz; | ||
sha256 = "01243z8ibmns7lqm0mx7as7xpql3c81qyqx63ylgjzpaq85i32gk"; | ||
}; | ||
version = "0.0.1-dev"; | ||
|
||
propagatedBuildInputs = [ angstrom faraday ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ ocamlPackages, lib }: | ||
|
||
with ocamlPackages; | ||
|
||
buildDunePackage { | ||
pname = "mongo"; | ||
inherit (bson) src version; | ||
|
||
propagatedBuildInputs = [ bson ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ ocamlPackages, lib }: | ||
|
||
with ocamlPackages; | ||
|
||
buildDunePackage { | ||
pname = "mongo-lwt-unix"; | ||
inherit (bson) src version; | ||
|
||
propagatedBuildInputs = [ mongo-lwt gluten-lwt-unix ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ ocamlPackages, lib }: | ||
|
||
with ocamlPackages; | ||
|
||
buildDunePackage { | ||
pname = "mongo-lwt"; | ||
inherit (bson) src version; | ||
|
||
propagatedBuildInputs = [ mongo lwt mirage-crypto gluten-lwt pbkdf base64 ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ ocamlPackages, lib }: | ||
|
||
with ocamlPackages; | ||
|
||
buildDunePackage { | ||
pname = "ppx_deriving_bson"; | ||
inherit (bson) src version; | ||
|
||
propagatedBuildInputs = [ ppxlib ppx_deriving bson ]; | ||
} |