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
32
pkgs/applications/science/logic/metis-prover/default.nix
Normal file
32
pkgs/applications/science/logic/metis-prover/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchFromGitHub, perl, mlton }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "metis-prover";
|
||||
version = "2.3.20160713";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gilith";
|
||||
repo = "metis";
|
||||
rev = "f0b1a17cd57eb098077e963ab092477aee9fb340";
|
||||
sha256 = "1i7paax7b4byk8110f5zk4071mh5603r82bq7hbprqzljvsiipk7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
buildInputs = [ mlton ];
|
||||
|
||||
patchPhase = "patchShebangs .";
|
||||
|
||||
buildPhase = "make mlton";
|
||||
|
||||
installPhase = ''
|
||||
install -Dm0755 bin/mlton/metis $out/bin/metis
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Automatic theorem prover for first-order logic with equality";
|
||||
homepage = "http://www.gilith.com/research/metis/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue