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
43
pkgs/development/ocaml-modules/rfc7748/default.nix
Normal file
43
pkgs/development/ocaml-modules/rfc7748/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchFromGitHub
|
||||
, ocaml
|
||||
|
||||
, ounit
|
||||
, zarith
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "rfc7748";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "burgerdev";
|
||||
repo = "ocaml-rfc7748";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-mgZooyfxrKBVQFn01B8PULmFUW9Zq5HJfgHCSJSkJo4=";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.05";
|
||||
|
||||
propagatedBuildInputs = [ zarith ];
|
||||
|
||||
# the tests fail for 4.05
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.06";
|
||||
checkInputs = [ ounit ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/burgerdev/ocaml-rfc7748";
|
||||
description = "Elliptic Curve Diffie-Hellman on Edwards Curves (X25519, X448)";
|
||||
longDescription = ''
|
||||
This library implements the ECDH functions 'X25519' and 'X448' as specified
|
||||
in RFC 7748, 'Elliptic curves for security'. In the spirit of the original
|
||||
publications, the public API is kept as simple as possible to make it easy
|
||||
to use and hard to misuse.
|
||||
'';
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ fufexan ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue