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
33
pkgs/development/tools/ocaml/obuild/default.nix
Normal file
33
pkgs/development/tools/ocaml/obuild/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitHub, ocaml }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "obuild";
|
||||
version = "0.1.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml-obuild";
|
||||
repo = "obuild";
|
||||
rev = "obuild-v${version}";
|
||||
sha256 = "sha256-dqWP9rwWmr7i3O29v/kipJL01B3qQozaToOFCdfTWZU=";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml ];
|
||||
|
||||
buildPhase = ''
|
||||
patchShebangs ./bootstrap
|
||||
./bootstrap
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp dist/build/obuild/obuild dist/build/obuild-from-oasis/obuild-from-oasis dist/build/obuild-simple/obuild-simple $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/ocaml-obuild/obuild";
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
description = "Simple package build system for OCaml";
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = with lib.maintainers; [ volth ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue