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
28
pkgs/servers/mail/popa3d/default.nix
Normal file
28
pkgs/servers/mail/popa3d/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchurl, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "popa3d";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.openwall.com/popa3d/${pname}-${version}.tar.gz";
|
||||
sha256 = "1g48cd74sqhl496wmljhq44iyfpghaz363a1ip8nyhpjz7d57f03";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
patches = [
|
||||
./fix-mail-spool-path.patch
|
||||
./use-openssl.patch
|
||||
./use-glibc-crypt.patch
|
||||
./enable-standalone-mode.patch
|
||||
];
|
||||
|
||||
configurePhase = ''makeFlags="PREFIX=$out MANDIR=$out/share/man"'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.openwall.com/popa3d/";
|
||||
description = "Tiny POP3 daemon with security as the primary goal";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue