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>
11 lines
209 B
Nix
11 lines
209 B
Nix
{ lib, buildDunePackage, cstruct, async_unix }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "cstruct-async";
|
|
inherit (cstruct) src version meta useDune2;
|
|
|
|
propagatedBuildInputs = [
|
|
async_unix
|
|
cstruct
|
|
];
|
|
}
|