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
39
pkgs/development/ocaml-modules/cryptgps/default.nix
Normal file
39
pkgs/development/ocaml-modules/cryptgps/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{stdenv, lib, fetchurl, ocaml, findlib}:
|
||||
|
||||
if lib.versionAtLeast ocaml.version "4.06"
|
||||
then throw "cryptgps is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "ocaml-cryptgps";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.camlcity.org/download/cryptgps-0.2.1.tar.gz";
|
||||
sha256 = "1mp7i42cm9w9grmcsa69m3h1ycpn6a48p43y4xj8rsc12x9nav3s";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
dontConfigure = true; # Skip configure phase
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://projects.camlcity.org/projects/cryptgps.html";
|
||||
description = "Cryptographic functions for OCaml";
|
||||
longDescription = ''
|
||||
This library implements the symmetric cryptographic algorithms
|
||||
Blowfish, DES, and 3DES. The algorithms are written in O'Caml,
|
||||
i.e. this is not a binding to some C library, but the implementation
|
||||
itself.
|
||||
'';
|
||||
license = lib.licenses.mit;
|
||||
inherit (ocaml.meta) platforms;
|
||||
maintainers = [
|
||||
lib.maintainers.maggesi
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue