Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 530d185e9e92
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 565fc43440bd
Choose a head ref
  • 5 commits
  • 5 files changed
  • 1 contributor

Commits on Sep 9, 2019

  1. dysnomia: 0.8 -> 0.9

    (cherry picked from commit 95464ba)
    svanderburg committed Sep 9, 2019
    Copy the full SHA
    e6e9d2a View commit details
  2. disnix: 0.8 -> 0.9

    (cherry picked from commit 46f190b)
    svanderburg committed Sep 9, 2019
    Copy the full SHA
    8cec4ea View commit details
  3. disnixos: 0.7.1 -> 0.8

    (cherry picked from commit 67879a7)
    svanderburg committed Sep 9, 2019
    Copy the full SHA
    7f2d763 View commit details
  4. DisnixWebService: 0.8 -> 0.9

    (cherry picked from commit e0af0be)
    svanderburg committed Sep 9, 2019
    Copy the full SHA
    0603b79 View commit details
  5. nixos/dysnomia: enable InfluxDB support

    (cherry picked from commit e987e3f)
    svanderburg committed Sep 9, 2019
    Copy the full SHA
    565fc43 View commit details
1 change: 1 addition & 0 deletions nixos/modules/services/misc/dysnomia.nix
Original file line number Diff line number Diff line change
@@ -151,6 +151,7 @@ in
enableSubversionRepository = config.services.svnserve.enable;
enableTomcatWebApplication = config.services.tomcat.enable;
enableMongoDatabase = config.services.mongodb.enable;
enableInfluxDatabase = config.services.influxdb.enable;
});

dysnomia.properties = {
15 changes: 4 additions & 11 deletions pkgs/tools/package-management/disnix/DisnixWebService/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
{stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java, fetchpatch }:
{stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java }:

stdenv.mkDerivation {
name = "DisnixWebService-0.8";
name = "DisnixWebService-0.9";
src = fetchurl {
url = https://github.com/svanderburg/DisnixWebService/files/1756703/DisnixWebService-0.8.tar.gz;
sha256 = "05hmyz17rmqlph0i321kmhabnpw84kqz32lgc5cd4shxyzsal9hz";
url = https://github.com/svanderburg/DisnixWebService/releases/download/DisnixWebService-0.9/DisnixWebService-0.9.tar.gz;
sha256 = "1z7w44bf023c0aqchjfi4mla3qbhsh87mdzx7pqn0sy74cjfgqvl";
};
buildInputs = [ apacheAnt jdk ];
PREFIX = ''''${env.out}'';
AXIS2_LIB = "${axis2}/lib";
AXIS2_WEBAPP = "${axis2}/webapps/axis2";
DBUS_JAVA_LIB = "${dbus_java}/share/java";
patches = [
# Safe to remove once https://github.com/svanderburg/DisnixWebService/pull/1 is merged
(fetchpatch {
url = "https://github.com/mmahut/DisnixWebService/commit/cf07918b8c81b4ce01e0b489c1b5a3ef9c9a1cd6.patch";
sha256 = "15zi1l69wzgwvvqx4492s7l444gfvc9vcm7ckgif4b6cvp837brn";
})
];
prePatch = ''
sed -i -e "s|#JAVA_HOME=|JAVA_HOME=${jdk}|" \
-e "s|#AXIS2_LIB=|AXIS2_LIB=${axis2}/lib|" \
6 changes: 3 additions & 3 deletions pkgs/tools/package-management/disnix/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, glib, libxml2, libxslt, getopt, nixUnstable, dysnomia, libintl, libiconv }:

stdenv.mkDerivation {
name = "disnix-0.8";
name = "disnix-0.9";

src = fetchurl {
url = https://github.com/svanderburg/disnix/files/1756701/disnix-0.8.tar.gz;
sha256 = "02cmj1jqk5i90szjsn5csr7qb7n42v04rvl9syx0zi9sx9ldnb0w";
url = https://github.com/svanderburg/disnix/releases/download/disnix-0.9/disnix-0.9.tar.gz;
sha256 = "1kc4520zjc1z72mknylfvrsyda9rbmm5c9mw8w13zhdwg3zbna06";
};

nativeBuildInputs = [ pkgconfig ];
10 changes: 5 additions & 5 deletions pkgs/tools/package-management/disnix/disnixos/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{ stdenv, fetchurl, dysnomia, disnix, socat, pkgconfig, getopt }:

stdenv.mkDerivation {
name = "disnixos-0.7.1";
name = "disnixos-0.8";

src = fetchurl {
url = https://github.com/svanderburg/disnixos/files/2281312/disnixos-0.7.1.tar.gz;
sha256 = "00d7mcj77lwbj67vnh81bw6k6pg2asimky4zkq32mh8dslnhpnz6";
url = https://github.com/svanderburg/disnixos/releases/download/disnixos-0.8/disnixos-0.8.tar.gz;
sha256 = "186blirfx89i8hdp4a0djy4q9qr9wcl0ilwr66hlil0wxqj1sr91";
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ socat dysnomia disnix getopt ];

meta = {
description = "Provides complementary NixOS infrastructure deployment to Disnix";
license = stdenv.lib.licenses.lgpl21Plus;
14 changes: 9 additions & 5 deletions pkgs/tools/package-management/disnix/dysnomia/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl
, ejabberd ? null, mysql ? null, postgresql ? null, subversion ? null, mongodb ? null, mongodb-tools ? null
, ejabberd ? null, mysql ? null, postgresql ? null, subversion ? null, mongodb ? null, mongodb-tools ? null, influxdb ? null
, enableApacheWebApplication ? false
, enableAxis2WebService ? false
, enableEjabberdDump ? false
@@ -8,6 +8,7 @@
, enableSubversionRepository ? false
, enableTomcatWebApplication ? false
, enableMongoDatabase ? false
, enableInfluxDatabase ? false
, catalinaBaseDir ? "/var/tomcat"
, jobTemplate ? "systemd"
, getopt
@@ -18,12 +19,13 @@ assert enablePostgreSQLDatabase -> postgresql != null;
assert enableSubversionRepository -> subversion != null;
assert enableEjabberdDump -> ejabberd != null;
assert enableMongoDatabase -> (mongodb != null && mongodb-tools != null);
assert enableInfluxDatabase -> influxdb != null;

stdenv.mkDerivation {
name = "dysnomia-0.8";
name = "dysnomia-0.9";
src = fetchurl {
url = https://github.com/svanderburg/dysnomia/files/1756700/dysnomia-0.8.tar.gz;
sha256 = "0pc4zwmmlsz02a6a4srpwdwhqrfvn3wkn22sz3fg7lwxbdbd5k0z";
url = https://github.com/svanderburg/dysnomia/releases/download/dysnomia-0.9/dysnomia-0.9.tar.gz;
sha256 = "09pk2l3pss48kvm5wvskh842vakbzmjzxzfzyw1nkqnvni130ikl";
};

preConfigure = if enableEjabberdDump then "export PATH=$PATH:${ejabberd}/sbin" else "";
@@ -37,6 +39,7 @@ stdenv.mkDerivation {
(if enableSubversionRepository then "--with-subversion" else "--without-subversion")
(if enableTomcatWebApplication then "--with-tomcat=${catalinaBaseDir}" else "--without-tomcat")
(if enableMongoDatabase then "--with-mongodb" else "--without-mongodb")
(if enableInfluxDatabase then "--with-influxdb" else "--without-influxdb")
"--with-job-template=${jobTemplate}"
];

@@ -46,7 +49,8 @@ stdenv.mkDerivation {
++ stdenv.lib.optional enablePostgreSQLDatabase postgresql
++ stdenv.lib.optional enableSubversionRepository subversion
++ stdenv.lib.optional enableMongoDatabase mongodb
++ stdenv.lib.optional enableMongoDatabase mongodb-tools;
++ stdenv.lib.optional enableMongoDatabase mongodb-tools
++ stdenv.lib.optional enableInfluxDatabase influxdb;

meta = {
description = "Automated deployment of mutable components and services for Disnix";