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
27
pkgs/development/ocaml-modules/ounit2/default.nix
Normal file
27
pkgs/development/ocaml-modules/ounit2/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, ocaml, buildDunePackage, fetchurl, stdlib-shims, ncurses }:
|
||||
|
||||
buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
pname = "ounit2";
|
||||
version = "2.2.4";
|
||||
|
||||
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-v${version}.tbz";
|
||||
sha256 = "0i9kiqbf2dp12c4qcvbn4abdpdp6h4g5z54ycsh0q8jpv6jnkh5m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ stdlib-shims ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = lib.optional (lib.versionOlder ocaml.version "4.07") ncurses;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/gildor478/ounit";
|
||||
description = "A unit test framework for OCaml";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sternenseemann ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue