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
31
pkgs/development/ocaml-modules/sha/default.nix
Normal file
31
pkgs/development/ocaml-modules/sha/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, fetchurl, buildDunePackage, stdlib-shims, dune-configurator, ounit }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "sha";
|
||||
version = "1.15.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/djs55/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "sha256-cRtjydvwgXgimi6F3C48j7LrWgfMO6m9UJKjKlxvp0Q=";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
buildInputs = [ dune-configurator ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
stdlib-shims
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
ounit
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Binding for SHA interface code in OCaml";
|
||||
homepage = "https://github.com/djs55/ocaml-sha/";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ arthurteisseire ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue