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
33
pkgs/servers/mail/mlmmj/default.nix
Normal file
33
pkgs/servers/mail/mlmmj/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "mlmmj";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://mlmmj.org/releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "1sghqvwizvm1a9w56r34qy5njaq1c26bagj85r60h32gh3fx02bn";
|
||||
};
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: getlistdelim.o:/build/mlmmj-1.3.0/src/../include/mlmmj.h:84: multiple definition of
|
||||
# `subtype_strs'; mlmmj-send.o:/build/mlmmj-1.3.0/src/../include/mlmmj.h:84: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
postInstall = ''
|
||||
# grab all documentation files
|
||||
docfiles=$(find -maxdepth 1 -name "[[:upper:]][[:upper:]]*")
|
||||
install -vDm 644 -t $out/share/doc/mlmmj/ $docfiles
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://mlmmj.org";
|
||||
description = "Mailing List Management Made Joyful";
|
||||
maintainers = [ maintainers.edwtjo ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue