treewide: remove stdenv where not needed

This commit is contained in:
Pavol Rusnak
2021-01-25 18:31:47 +01:00
parent e06e847595
commit a6ce00c50c
2779 changed files with 2844 additions and 2834 deletions
+5 -3
View File
@@ -1,4 +1,6 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper, php }: with lib; stdenv.mkDerivation rec {
{ stdenv, lib, fetchFromGitHub, makeWrapper, php }:
stdenv.mkDerivation rec {
pname = "icingaweb2";
version = "2.8.2";
@@ -16,10 +18,10 @@
cp -ra application bin etc library modules public $out
cp -ra doc $out/share
wrapProgram $out/bin/icingacli --prefix PATH : "${makeBinPath [ php ]}"
wrapProgram $out/bin/icingacli --prefix PATH : "${lib.makeBinPath [ php ]}"
'';
meta = {
meta = with lib; {
description = "Webinterface for Icinga 2";
longDescription = ''
A lightweight and extensible web interface to keep an eye on your environment.
@@ -1,4 +1,9 @@
{ stdenv, lib, fetchFromGitHub }: with lib; stdenv.mkDerivation rec {
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
name = "icingaweb2-theme-april";
version = "1.0.4";
@@ -14,7 +19,7 @@
cp -r * "$out"
'';
meta = {
meta = with lib; {
description = "Icingaweb2 theme for april fools";
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-april";
license = licenses.publicDomain;
@@ -1,4 +1,9 @@
{ stdenv, lib, fetchFromGitHub }: with lib; stdenv.mkDerivation rec {
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
name = "icingaweb2-theme-lsd";
version = "1.0.3";
@@ -14,7 +19,7 @@
cp -r * "$out"
'';
meta = {
meta = with lib; {
description = "Psychadelic theme for IcingaWeb 2";
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-lsd";
license = licenses.publicDomain;
@@ -1,4 +1,9 @@
{ stdenv, lib, fetchFromGitHub }: with lib; stdenv.mkDerivation rec {
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
name = "icingaweb2-theme-particles";
version = "1.0.0";
@@ -14,7 +19,7 @@
cp -r * "$out"
'';
meta = {
meta = with lib; {
description = "This theme adds a nice particle effect to the login screen of Icingaweb 2";
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-particles";
license = licenses.publicDomain;
@@ -1,4 +1,9 @@
{ stdenv, lib, fetchFromGitHub }: with lib; stdenv.mkDerivation rec {
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
name = "icingaweb2-theme-snow";
version = "1.0.0";
@@ -20,7 +25,7 @@
cp -r * "$out"
'';
meta = {
meta = with lib; {
description = "Snow theme for Icingaweb 2";
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-snow";
license = licenses.publicDomain;
@@ -1,4 +1,9 @@
{ stdenv, lib, fetchFromGitHub }: with lib; stdenv.mkDerivation rec {
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
name = "icingaweb2-theme-spring";
version = "1.0.0";
@@ -14,7 +19,7 @@
cp -r * "$out"
'';
meta = {
meta = with lib; {
description = "Theme with some soft colors and nice background images loaded from unsplash.com";
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-spring";
license = licenses.publicDomain;
@@ -1,4 +1,10 @@
{ stdenv, lib, fetchurl, fetchFromGitHub }: with lib; stdenv.mkDerivation rec {
{ lib
, stdenv
, fetchurl
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
name = "icingaweb2-theme-unicorn";
version = "1.0.2";
@@ -35,7 +41,7 @@
cp unicorn.png "$out/public/img/unicorn.png"
'';
meta = {
meta = with lib; {
description = "Unicorn theme for IcingaWeb 2";
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-unicorn";
license = licenses.publicDomain;