pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java }:
|
||||
{lib, stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "DisnixWebService-0.10";
|
||||
@@ -18,11 +18,11 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
buildPhase = "ant";
|
||||
installPhase = "ant install";
|
||||
|
||||
|
||||
meta = {
|
||||
description = "A SOAP interface and client for Disnix";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, libxml2, libxslt, getopt, gettext, nixUnstable, dysnomia, libintl, libiconv, help2man, doclifter, docbook5, dblatex, doxygen, libnixxml, autoreconfHook }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, glib, libxml2, libxslt, getopt, gettext, nixUnstable, dysnomia, libintl, libiconv, help2man, doclifter, docbook5, dblatex, doxygen, libnixxml, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "disnix-0.10";
|
||||
@@ -13,8 +13,8 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "A Nix-based distributed service deployment tool";
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [ sander tomberek ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = with lib.maintainers; [ sander tomberek ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, dysnomia, disnix, socat, pkgconfig, getopt }:
|
||||
{ lib, stdenv, fetchurl, dysnomia, disnix, socat, pkgconfig, getopt }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "disnixos-0.9";
|
||||
@@ -13,8 +13,8 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "Provides complementary NixOS infrastructure deployment to Disnix";
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool , pkgconfig, glib, libxml2, libxslt, getopt, libiconv, gettext, nix, disnix, libnixxml }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool , pkgconfig, glib, libxml2, libxslt, getopt, libiconv, gettext, nix, disnix, libnixxml }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version="2020-07-04";
|
||||
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A toolset enabling self-adaptive redeployment on top of Disnix";
|
||||
longDescription = "Dynamic Disnix is a (very experimental!) prototype extension framework for Disnix supporting dynamic (re)deployment of service-oriented systems.";
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.tomberek ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = [ lib.maintainers.tomberek ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, netcat
|
||||
{ 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
|
||||
, enableApacheWebApplication ? false
|
||||
, enableAxis2WebService ? false
|
||||
@@ -48,24 +48,24 @@ stdenv.mkDerivation {
|
||||
(if enableSupervisordProgram then "--with-supervisord" else "--without-supervisord")
|
||||
(if enableDockerContainer then "--with-docker" else "--without-docker")
|
||||
"--with-job-template=${jobTemplate}"
|
||||
] ++ stdenv.lib.optional enableLegacy "--enable-legacy";
|
||||
] ++ lib.optional enableLegacy "--enable-legacy";
|
||||
|
||||
buildInputs = [ getopt netcat ]
|
||||
++ stdenv.lib.optional stdenv.isLinux systemd
|
||||
++ stdenv.lib.optional enableEjabberdDump ejabberd
|
||||
++ stdenv.lib.optional enableMySQLDatabase mysql.out
|
||||
++ stdenv.lib.optional enablePostgreSQLDatabase postgresql
|
||||
++ stdenv.lib.optional enableSubversionRepository subversion
|
||||
++ stdenv.lib.optional enableMongoDatabase mongodb
|
||||
++ stdenv.lib.optional enableMongoDatabase mongodb-tools
|
||||
++ stdenv.lib.optional enableInfluxDatabase influxdb
|
||||
++ stdenv.lib.optional enableSupervisordProgram supervisor
|
||||
++ stdenv.lib.optional enableDockerContainer docker;
|
||||
++ lib.optional stdenv.isLinux systemd
|
||||
++ lib.optional enableEjabberdDump ejabberd
|
||||
++ lib.optional enableMySQLDatabase mysql.out
|
||||
++ lib.optional enablePostgreSQLDatabase postgresql
|
||||
++ lib.optional enableSubversionRepository subversion
|
||||
++ lib.optional enableMongoDatabase mongodb
|
||||
++ lib.optional enableMongoDatabase mongodb-tools
|
||||
++ lib.optional enableInfluxDatabase influxdb
|
||||
++ lib.optional enableSupervisordProgram supervisor
|
||||
++ lib.optional enableDockerContainer docker;
|
||||
|
||||
meta = {
|
||||
description = "Automated deployment of mutable components and services for Disnix";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user