uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/servers/icingaweb2/default.nix
Normal file
36
pkgs/servers/icingaweb2/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ stdenvNoCC, lib, fetchFromGitHub, makeWrapper, php }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "icingaweb2";
|
||||
version = "2.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Icinga";
|
||||
repo = "icingaweb2";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-X4RaAJjhUnSALJyFYiwagN3cHyW+GyB5MPkW7l+Zv10=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share
|
||||
cp -ra application bin etc library modules public $out
|
||||
cp -ra doc $out/share
|
||||
|
||||
wrapProgram $out/bin/icingacli --prefix PATH : "${lib.makeBinPath [ php ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Webinterface for Icinga 2";
|
||||
longDescription = ''
|
||||
A lightweight and extensible web interface to keep an eye on your environment.
|
||||
Analyse problems and act on them.
|
||||
'';
|
||||
homepage = "https://www.icinga.com/products/icinga-web-2/";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ das_j ];
|
||||
mainProgram = "icingacli";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
26
pkgs/servers/icingaweb2/ipl.nix
Normal file
26
pkgs/servers/icingaweb2/ipl.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ stdenvNoCC, lib, fetchFromGitHub }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "icingaweb2-ipl";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Icinga";
|
||||
repo = "icinga-php-library";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256:0ndd4gd26rglbz85izfvqc4ghcfa7wpq6ghrhggbzg819phndg5a";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r * "$out"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "PHP library package for Icingaweb 2";
|
||||
homepage = "https://github.com/Icinga/icinga-php-library";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ das_j ];
|
||||
};
|
||||
}
|
||||
29
pkgs/servers/icingaweb2/theme-april/default.nix
Normal file
29
pkgs/servers/icingaweb2/theme-april/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icingaweb2-theme-april";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mikesch-mp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0i1js2k47llzgmc77q9frvcmr02mqlhg0qhswx1486fvm6myxg0g";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r * "$out"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Icingaweb2 theme for april fools";
|
||||
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-april";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ das_j ];
|
||||
};
|
||||
}
|
||||
29
pkgs/servers/icingaweb2/theme-lsd/default.nix
Normal file
29
pkgs/servers/icingaweb2/theme-lsd/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icingaweb2-theme-lsd";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mikesch-mp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "172y08sar4nbyv5pfq5chw8xa3b7fg1dacmsg778zky5zf49qz2w";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r * "$out"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Psychadelic theme for IcingaWeb 2";
|
||||
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-lsd";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ das_j ];
|
||||
};
|
||||
}
|
||||
29
pkgs/servers/icingaweb2/theme-particles/default.nix
Normal file
29
pkgs/servers/icingaweb2/theme-particles/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icingaweb2-theme-particles";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mikesch-mp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0m6bbz191686k4djqbk8v0zcdm4cyi159jb3zwz7q295xbpi2vfy";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r * "$out"
|
||||
'';
|
||||
|
||||
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;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ das_j ];
|
||||
};
|
||||
}
|
||||
35
pkgs/servers/icingaweb2/theme-snow/default.nix
Normal file
35
pkgs/servers/icingaweb2/theme-snow/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icingaweb2-theme-snow";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mikesch-mp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1c974v85mbsis52y2knwzh33996q8sza7pqrcs6ydx033s0rxjrp";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
# Module info contains some fancy ascii art which breaks the module list
|
||||
|
||||
awk -i inplace 'BEGIN {empty=0;write=1;}{if ($0 == ""){empty++;};if(empty==2){write=0};if (write==1){print $0}}' module.info
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r * "$out"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Snow theme for Icingaweb 2";
|
||||
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-snow";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ das_j ];
|
||||
};
|
||||
}
|
||||
29
pkgs/servers/icingaweb2/theme-spring/default.nix
Normal file
29
pkgs/servers/icingaweb2/theme-spring/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icingaweb2-theme-spring";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mikesch-mp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "09v4871pndarhm2spxm9fdab58l5wj8m40kh53wvk1xc3g7pqki9";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r * "$out"
|
||||
'';
|
||||
|
||||
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;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ das_j ];
|
||||
};
|
||||
}
|
||||
51
pkgs/servers/icingaweb2/theme-unicorn/default.nix
Normal file
51
pkgs/servers/icingaweb2/theme-unicorn/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icingaweb2-theme-unicorn";
|
||||
version = "1.0.2";
|
||||
|
||||
srcs = [
|
||||
(fetchFromGitHub {
|
||||
owner = "Mikesch-mp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1qmcajdf0g70vp2avqa50lfrfigq22k91kggbgn5ablwyg9dki05";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://i.imgur.com/SCfMd.png";
|
||||
sha256 = "1y6wqm1z6mn0a6jankd7pzqgi7zm5320kk6knvbv3qhzx2b74ypp";
|
||||
})
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
for src in $srcs; do
|
||||
case $src in
|
||||
*.png)
|
||||
cp $src unicorn.png
|
||||
;;
|
||||
*)
|
||||
cp -r $src/* .
|
||||
;;
|
||||
esac
|
||||
done
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r * "$out"
|
||||
chmod 755 $out/public/img
|
||||
cp unicorn.png "$out/public/img/unicorn.png"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unicorn theme for IcingaWeb 2";
|
||||
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-unicorn";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ das_j ];
|
||||
};
|
||||
}
|
||||
26
pkgs/servers/icingaweb2/thirdparty.nix
Normal file
26
pkgs/servers/icingaweb2/thirdparty.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ stdenvNoCC, lib, fetchFromGitHub }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "icingaweb2-thirdparty";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Icinga";
|
||||
repo = "icinga-php-thirdparty";
|
||||
rev = "v${version}";
|
||||
sha256 = "03zq6p2xyjrln8hdfks70hg8mwa51d3pnkswnzavpbxlbk83vzz5";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r * "$out"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Third party dependencies for Icingaweb 2";
|
||||
homepage = "https://github.com/Icinga/icinga-php-thirdparty";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ das_j ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue