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/development/interpreters/bwbasic/default.nix
Normal file
37
pkgs/development/interpreters/bwbasic/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, dos2unix, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bwbasic";
|
||||
version = "3.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/bwbasic/bwbasic/version%203.20/bwbasic-3.20.zip";
|
||||
sha256 = "1w9r4cl7z1lh52c1jpjragbspi1qn0zb7jhcsldav4gdnzxfw67f";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ dos2unix unzip ];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
dos2unix configure
|
||||
patchShebangs configure
|
||||
chmod +x configure
|
||||
'';
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bywater BASIC Interpreter";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ irenes ];
|
||||
platforms = platforms.all;
|
||||
homepage = "https://sourceforge.net/projects/bwbasic/";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue