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/compilers/teyjus/default.nix
Normal file
33
pkgs/development/compilers/teyjus/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitHub, omake, ocaml, flex, bison }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "teyjus";
|
||||
version = "2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "teyjus";
|
||||
repo = "teyjus";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-nz7jZ+GdF6mZQPzBrVD9K/RtoeuVRuhfs7vej4zDkhg=";
|
||||
};
|
||||
|
||||
patches = [ ./fix-lex-to-flex.patch ];
|
||||
|
||||
buildInputs = [ omake ocaml flex bison ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
buildPhase = "omake all";
|
||||
|
||||
checkPhase = "omake check";
|
||||
|
||||
installPhase = "mkdir -p $out/bin && cp tj* $out/bin";
|
||||
|
||||
meta = with lib; {
|
||||
description = "An efficient implementation of the Lambda Prolog language";
|
||||
homepage = "https://github.com/teyjus/teyjus";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ maintainers.bcdarwin ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue