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
37
pkgs/applications/science/logic/redprl/default.nix
Normal file
37
pkgs/applications/science/logic/redprl/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchFromGitHub, mlton }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "redprl";
|
||||
version = "unstable-2019-11-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RedPRL";
|
||||
repo = "sml-redprl";
|
||||
rev = "c72190de76f7ed1cfbe1d2046c96e99ac5022b0c";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-xrQT5o0bsIN+mCYUOz9iY4+j3HGROb1I6R2ADcLy8n4=";
|
||||
};
|
||||
|
||||
buildInputs = [ mlton ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ./script/
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
./script/mlton.sh
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv ./bin/redprl $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A proof assistant for Nominal Computational Type Theory";
|
||||
homepage = "http://www.redprl.org/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ acowley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue