https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
12 lines
244 B
Nix
12 lines
244 B
Nix
{ buildDunePackage, lablgtk, ocamlgraph, stdlib-shims, ... }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ocamlgraph_gtk";
|
|
inherit (ocamlgraph) version src useDune2 meta;
|
|
|
|
propagatedBuildInputs = [
|
|
lablgtk
|
|
ocamlgraph
|
|
stdlib-shims
|
|
];
|
|
}
|