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/networking/mailreaders/mmh/default.nix
Normal file
29
pkgs/applications/networking/mailreaders/mmh/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, ncurses, autoreconfHook, flex }:
|
||||
let rev = "b17ea39dc17e5514f33b3f5c34ede92bd16e208c";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "mmh";
|
||||
version = "unstable-2020-08-21";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://git.marmaro.de/?p=mmh;a=snapshot;h=${rev};sf=tgz";
|
||||
name = "mmh-${rev}.tgz";
|
||||
sha256 = "1bqfxafw4l2y46pnsxgy4ji1xlyifzw01k1ykbsjj9p61q3nv6l6";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace sbr/Makefile.in \
|
||||
--replace "ar " "${stdenv.cc.targetPrefix}ar "
|
||||
'';
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
nativeBuildInputs = [ autoreconfHook flex ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Set of electronic mail handling programs";
|
||||
homepage = "http://marmaro.de/prog/mmh";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin;
|
||||
maintainers = with maintainers; [ kaction ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue