uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
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>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/development/ocaml-modules/posix/base.nix
Normal file
26
pkgs/development/ocaml-modules/posix/base.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildDunePackage, fetchFromGitHub
|
||||
, ctypes, integers
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "posix-base";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "savonet";
|
||||
repo = "ocaml-posix";
|
||||
rev = "v${version}";
|
||||
sha256 = "18px8hfqcfy2lk8105ki3hrxxigs44gs046ba0fqda6wzd0hr82b";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [ ctypes integers ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.liquidsoap.info/ocaml-posix/";
|
||||
description = "Base module for the posix bindings";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
16
pkgs/development/ocaml-modules/posix/socket.nix
Normal file
16
pkgs/development/ocaml-modules/posix/socket.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ lib, buildDunePackage, posix-base }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "posix-socket";
|
||||
|
||||
inherit (posix-base) version src useDune2;
|
||||
|
||||
propagatedBuildInputs = [ posix-base ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = posix-base.meta // {
|
||||
description = "Bindings for posix sockets";
|
||||
};
|
||||
|
||||
}
|
||||
16
pkgs/development/ocaml-modules/posix/time2.nix
Normal file
16
pkgs/development/ocaml-modules/posix/time2.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ lib, buildDunePackage, posix-base, posix-types, unix-errno }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "posix-time2";
|
||||
|
||||
inherit (posix-base) version src;
|
||||
|
||||
propagatedBuildInputs = [ posix-base posix-types unix-errno ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = posix-base.meta // {
|
||||
description = "posix-time2 provides the types and bindings for posix time APIs";
|
||||
maintainers = with lib.maintainers; [ dandellion ];
|
||||
};
|
||||
}
|
||||
15
pkgs/development/ocaml-modules/posix/types.nix
Normal file
15
pkgs/development/ocaml-modules/posix/types.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ lib, buildDunePackage, posix-base }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "posix-types";
|
||||
|
||||
inherit (posix-base) version src useDune2;
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
|
||||
propagatedBuildInputs = [ posix-base ];
|
||||
|
||||
meta = posix-base.meta // {
|
||||
description = "Bindings for the types defined in <sys/types.h>";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue