pkgs/servers: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 14:07:56 +07:00
parent e245ae3c3a
commit 872973d7d1
172 changed files with 454 additions and 455 deletions

View File

@@ -30,6 +30,6 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.zdziarski.com/blog/?page_id=442";
description = "Evasive maneuvers module for Apache to provide evasive action in the event of an HTTP DoS or DDoS attack or brute force attack";
platforms = stdenv.lib.platforms.linux;
platforms = lib.platforms.linux;
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, apacheHttpd }:
{ lib, stdenv, fetchurl, apacheHttpd }:
let
version = "2.4.7.1";
@@ -42,7 +42,7 @@ stdenv.mkDerivation {
more scalable.
'';
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.peti ];
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.peti ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, apacheHttpd, python2 }:
{ lib, stdenv, fetchurl, apacheHttpd, python2 }:
stdenv.mkDerivation rec {
name = "mod_python-3.5.0";
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://modpython.org/";
description = "An Apache module that embeds the Python interpreter within the server";
platforms = stdenv.lib.platforms.unix;
platforms = lib.platforms.unix;
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, apacheHttpd, python, ncurses }:
{ lib, stdenv, fetchurl, apacheHttpd, python, ncurses }:
stdenv.mkDerivation rec {
pname = "mod_wsgi";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://github.com/GrahamDumpleton/mod_wsgi";
description = "Host Python applications in Apache through the WSGI interface";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.asl20;
platforms = lib.platforms.linux;
};
}