Merge pull request #121823 from svanderburg/disnix_update
Disnix update
This commit is contained in:
commit
c5173fe208
@ -1,10 +1,10 @@
|
||||
{lib, stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "DisnixWebService-0.10";
|
||||
name = "DisnixWebService-0.10.1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/DisnixWebService/releases/download/DisnixWebService-0.10/DisnixWebService-0.10.tar.gz";
|
||||
sha256 = "0m451msd127ay09yb8rbflg68szm8s4hh65j99f7s3mz375vc114";
|
||||
url = "https://github.com/svanderburg/DisnixWebService/releases/download/DisnixWebService-0.10.1/DisnixWebService-0.10.1.tar.gz";
|
||||
sha256 = "02jxbgn9a0c9cr6knzp78bp9wiywzczy89wav7yxhg79vff8a1gr";
|
||||
};
|
||||
buildInputs = [ apacheAnt jdk ];
|
||||
PREFIX = "\${env.out}";
|
||||
|
@ -1,15 +1,15 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, glib, libxml2, libxslt, getopt, gettext, nixUnstable, dysnomia, libintl, libiconv, help2man, doclifter, docbook5, dblatex, doxygen, libnixxml, autoreconfHook }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, glib, libxml2, libxslt, getopt, gettext, dysnomia, libintl, libiconv }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "disnix-0.10";
|
||||
name = "disnix-0.10.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/disnix/releases/download/disnix-0.10/disnix-0.10.tar.gz";
|
||||
sha256 = "0mciqbc2h60nc0i6pd36w0m2yr96v97ybrzrqzh5f67ac1f0gqwg";
|
||||
url = "https://github.com/svanderburg/disnix/releases/download/disnix-0.10.1/disnix-0.10.1.tar.gz";
|
||||
sha256 = "13rjw1va7l8w7ir73xqxq4zb3ig2iwhiwxhp5dbfv0z3gnqizghq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ glib libxml2 libxslt getopt nixUnstable libintl libiconv dysnomia ];
|
||||
buildInputs = [ glib libxml2 libxslt getopt libintl libiconv dysnomia ];
|
||||
|
||||
meta = {
|
||||
description = "A Nix-based distributed service deployment tool";
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ lib, stdenv, fetchurl, dysnomia, disnix, socat, pkg-config, getopt }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "disnixos-0.9";
|
||||
name = "disnixos-0.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/disnixos/releases/download/disnixos-0.9/disnixos-0.9.tar.gz";
|
||||
sha256 = "0vllm5a8d9dvz5cjiq1mmkc4r4vnljabq42ng0ml85sjn0w7xvm7";
|
||||
url = "https://github.com/svanderburg/disnixos/releases/download/disnixos-0.9.1/disnixos-0.9.1.tar.gz";
|
||||
sha256 = "1n2psq1b8bg340i2i0yf5xy2rf78fwqd3wj342wcmq09cv2v8d1b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
@ -1,18 +1,18 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool , pkg-config, glib, libxml2, libxslt, getopt, libiconv, gettext, nix, disnix, libnixxml }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool , pkg-config, glib, libxml2, libxslt, getopt, libiconv, gettext, nix, disnix }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version="2020-07-04";
|
||||
version="2020-11-02";
|
||||
name = "dydisnix-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "svanderburg";
|
||||
repo = "dydisnix";
|
||||
rev = "e99091f1c2329d562097e35faedee80622d387f0";
|
||||
sha256 = "sha256-XKab2hNGtWDkIEMxE1vMvqQBTP9BvHTabBVfzpH57h0=";
|
||||
rev = "12ca1516bc1e5d161ac68f5d8252a0a2f353c8cf";
|
||||
sha256 = "00f341274hwwil8mlgcgq331vfca9sscvpdbgkxsjvbhcqd8qa52";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoconf automake libtool ];
|
||||
buildInputs = [ glib libxml2 libxslt getopt nix disnix libiconv gettext libnixxml ];
|
||||
buildInputs = [ glib libxml2 libxslt getopt nix disnix libiconv gettext ];
|
||||
preConfigure = ''
|
||||
./bootstrap
|
||||
'';
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, netcat
|
||||
, systemd ? null, ejabberd ? null, mysql ? null, postgresql ? null, subversion ? null, mongodb ? null, mongodb-tools ? null, influxdb ? null, supervisor ? null, docker ? null
|
||||
, systemd ? null, ejabberd ? null, mysql ? null, postgresql ? null, subversion ? null, mongodb ? null, mongodb-tools ? null, influxdb ? null, supervisor ? null, docker ? null, nginx ? null, s6-rc ? null, xinetd ? null
|
||||
, enableApacheWebApplication ? false
|
||||
, enableAxis2WebService ? false
|
||||
, enableEjabberdDump ? false
|
||||
@ -10,7 +10,10 @@
|
||||
, enableMongoDatabase ? false
|
||||
, enableInfluxDatabase ? false
|
||||
, enableSupervisordProgram ? false
|
||||
, enableDockerContainer ? true
|
||||
, enableDockerContainer ? false
|
||||
, enableNginxWebApplication ? false
|
||||
, enableXinetdService ? false
|
||||
, enableS6RCService ? false
|
||||
, enableLegacy ? false
|
||||
, catalinaBaseDir ? "/var/tomcat"
|
||||
, jobTemplate ? "systemd"
|
||||
@ -25,16 +28,17 @@ assert enableMongoDatabase -> (mongodb != null && mongodb-tools != null);
|
||||
assert enableInfluxDatabase -> influxdb != null;
|
||||
assert enableSupervisordProgram -> supervisor != null;
|
||||
assert enableDockerContainer -> docker != null;
|
||||
assert enableNginxWebApplication -> nginx != null;
|
||||
assert enableS6RCService -> s6-rc != null;
|
||||
assert enableXinetdService -> xinetd != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dysnomia-0.10";
|
||||
name = "dysnomia-0.10.1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/dysnomia/releases/download/dysnomia-0.10/dysnomia-0.10.tar.gz";
|
||||
sha256 = "19zg4nhn0f9v4i7c9hhan1i4xv3ljfpl2d0s84ph8byiscvhyrna";
|
||||
url = "https://github.com/svanderburg/dysnomia/releases/download/dysnomia-0.10.1/dysnomia-0.10.1.tar.gz";
|
||||
sha256 = "0w9601g8zpaxrmynx6mh8zz85ldpb8psp7cc6ls8v3srjpj1l5n3";
|
||||
};
|
||||
|
||||
preConfigure = if enableEjabberdDump then "export PATH=$PATH:${ejabberd}/sbin" else "";
|
||||
|
||||
configureFlags = [
|
||||
(if enableApacheWebApplication then "--with-apache" else "--without-apache")
|
||||
(if enableAxis2WebService then "--with-axis2" else "--without-axis2")
|
||||
@ -47,6 +51,10 @@ stdenv.mkDerivation {
|
||||
(if enableInfluxDatabase then "--with-influxdb" else "--without-influxdb")
|
||||
(if enableSupervisordProgram then "--with-supervisord" else "--without-supervisord")
|
||||
(if enableDockerContainer then "--with-docker" else "--without-docker")
|
||||
(if enableNginxWebApplication then "--with-nginx" else "--without-nginx")
|
||||
(if enableXinetdService then "--with-xinetd" else "--without-xinetd")
|
||||
(if enableS6RCService then "--with-s6-rc" else "--without-s6-rc")
|
||||
(if stdenv.isDarwin then "--with-launchd" else "--without-launchd")
|
||||
"--with-job-template=${jobTemplate}"
|
||||
] ++ lib.optional enableLegacy "--enable-legacy";
|
||||
|
||||
@ -56,11 +64,13 @@ stdenv.mkDerivation {
|
||||
++ lib.optional enableMySQLDatabase mysql.out
|
||||
++ lib.optional enablePostgreSQLDatabase postgresql
|
||||
++ lib.optional enableSubversionRepository subversion
|
||||
++ lib.optional enableMongoDatabase mongodb
|
||||
++ lib.optional enableMongoDatabase mongodb-tools
|
||||
++ lib.optionals enableMongoDatabase [ mongodb mongodb-tools ]
|
||||
++ lib.optional enableInfluxDatabase influxdb
|
||||
++ lib.optional enableSupervisordProgram supervisor
|
||||
++ lib.optional enableDockerContainer docker;
|
||||
++ lib.optional enableDockerContainer docker
|
||||
++ lib.optional enableNginxWebApplication nginx
|
||||
++ lib.optional enableS6RCService s6-rc
|
||||
++ lib.optional enableXinetdService xinetd;
|
||||
|
||||
meta = {
|
||||
description = "Automated deployment of mutable components and services for Disnix";
|
||||
|
Loading…
Reference in New Issue
Block a user