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
45
pkgs/development/libraries/gsoap/default.nix
Normal file
45
pkgs/development/libraries/gsoap/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, unzip, m4, bison, flex, openssl, zlib }:
|
||||
|
||||
let
|
||||
majorVersion = "2.8";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "gsoap";
|
||||
version = "${majorVersion}.108";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/gsoap2/gsoap-${majorVersion}/gsoap_${version}.zip";
|
||||
sha256 = "0x58bwlclk7frv03kg8bp0pm7zl784samvbzskrnr7dl5v866nvl";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl zlib ];
|
||||
nativeBuildInputs = [ autoreconfHook bison flex m4 unzip ];
|
||||
# Parallel building doesn't work as of 2.8.49
|
||||
enableParallelBuilding = false;
|
||||
|
||||
# Future versions of automake require subdir-objects if the source is structured this way
|
||||
# As of 2.8.49 (maybe earlier) this is needed to silence warnings
|
||||
prePatch = ''
|
||||
substituteInPlace configure.ac \
|
||||
--replace 'AM_INIT_AUTOMAKE([foreign])' 'AM_INIT_AUTOMAKE([foreign subdir-objects])'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "C/C++ toolkit for SOAP web services and XML-based applications";
|
||||
homepage = "http://www.cs.fsu.edu/~engelen/soap.html";
|
||||
# gsoap is dual/triple licensed (see homepage for details):
|
||||
# 1. gSOAP Public License 1.3 (based on Mozilla Public License 1.1).
|
||||
# Components NOT covered by the gSOAP Public License are:
|
||||
# - wsdl2h tool and its source code output,
|
||||
# - soapcpp2 tool and its source code output,
|
||||
# - UDDI code,
|
||||
# - the webserver example code in gsoap/samples/webserver,
|
||||
# - and several example applications in the gsoap/samples directory.
|
||||
# 2. GPLv2 covers all of the software
|
||||
# 3. Proprietary commercial software development license (removes GPL
|
||||
# restrictions)
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue