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
29
pkgs/applications/science/logic/leo3/binary.nix
Normal file
29
pkgs/applications/science/logic/leo3/binary.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{lib, stdenv, fetchurl, openjdk, runtimeShell}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "leo3";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/leoprover/Leo-III/releases/download/v${version}/leo3.jar";
|
||||
sha256 = "1lgwxbr1rnk72rnvc8raq5i1q71ckhn998pwd9xk6zf27wlzijk7";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{bin,lib/java/leo3}
|
||||
cp "${src}" "$out/lib/java/leo3/leo3.jar"
|
||||
echo "#!${runtimeShell}" > "$out/bin/leo3"
|
||||
echo "'${openjdk}/bin/java' -jar '$out/lib/java/leo3/leo3.jar' \"\$@\"" >> "$out/bin/leo3"
|
||||
chmod a+x "$out/bin/leo3"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An automated theorem prover for classical higher-order logic with choice";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.bsd3;
|
||||
maintainers = [maintainers.raskin];
|
||||
platforms = platforms.linux;
|
||||
homepage = "https://page.mi.fu-berlin.de/lex/leo3/";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue