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
50
pkgs/development/libraries/sope/default.nix
Normal file
50
pkgs/development/libraries/sope/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ gnustep, lib, fetchFromGitHub , libxml2, openssl
|
||||
, openldap, mariadb, libmysqlclient, postgresql }:
|
||||
with lib;
|
||||
|
||||
gnustep.stdenv.mkDerivation rec {
|
||||
pname = "sope";
|
||||
version = "5.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inverse-inc";
|
||||
repo = pname;
|
||||
rev = "SOPE-${version}";
|
||||
sha256 = "sha256-w78YO5EQWtEiySOm9NpPbaMChbJppNBoZNOBs9fibbM=";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
nativeBuildInputs = [ gnustep.make ];
|
||||
buildInputs = flatten ([ gnustep.base libxml2 openssl ]
|
||||
++ optional (openldap != null) openldap
|
||||
++ optionals (mariadb != null) [ libmysqlclient mariadb ]
|
||||
++ optional (postgresql != null) postgresql);
|
||||
|
||||
postPatch = ''
|
||||
# Exclude NIX_ variables
|
||||
sed -i 's/grep GNUSTEP_/grep ^GNUSTEP_/g' configure
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
export DESTDIR="$out"
|
||||
'';
|
||||
|
||||
configureFlags = [ "--prefix=" "--disable-debug" "--enable-xml" "--with-ssl=ssl" ]
|
||||
++ optional (openldap != null) "--enable-openldap"
|
||||
++ optional (mariadb != null) "--enable-mysql"
|
||||
++ optional (postgresql != null) "--enable-postgresql";
|
||||
|
||||
# Yes, this is ugly.
|
||||
preFixup = ''
|
||||
cp -rlPa $out/nix/store/*/* $out
|
||||
rm -rf $out/nix/store
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An extensive set of frameworks which form a complete Web application server environment";
|
||||
license = licenses.publicDomain;
|
||||
homepage = "https://github.com/inverse-inc/sope";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ajs124 das_j ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue