uchiwa: remove
This commit is contained in:
parent
761c21a16a
commit
82da3193fc
@ -1,25 +0,0 @@
|
||||
# Generated by bower2nix v3.2.0 (https://github.com/rvl/bower2nix)
|
||||
{ fetchbower, buildEnv }:
|
||||
buildEnv { name = "bower-env"; ignoreCollisions = true; paths = [
|
||||
(fetchbower "uchiwa-web" "1.7.0" "1.7.0" "1qn09j3a1ngqn36rhz7a2dj00szr0r6fjb40lfbmq3drkzppgbm1")
|
||||
(fetchbower "angular" "1.6.10" "~1.6.3" "0ag8xddsgxx5yka4wjq4ala4y6z3x2g1vc3x7a1n291fzz26p7ws")
|
||||
(fetchbower "angular-bootstrap" "2.2.0" "~2.2.0" "11r2nlwp6xrim2y6lnrr8v064mx3bmlxchqpg1i803v9zxz3q53d")
|
||||
(fetchbower "angular-cookies" "1.6.10" "~1.6.3" "0bjgmz5jnw06dfxhq9sajj62fk0b3v4j9p7nb45x8bl8rzkf25pn")
|
||||
(fetchbower "angular-gravatar" "0.4.2" "~0.4.2" "14jrzvjwx64awh9z95054manp8qd57fvinqhmakipz5x12i7qrwi")
|
||||
(fetchbower "angular-moment" "1.0.1" "~1.0.1" "0zkn52s9l15d6b5zfx52g5jpib23rpb637m0p1hzc429w5bbl0rj")
|
||||
(fetchbower "angular-resource" "1.6.10" "~1.6.3" "1gplq8kd49qakk7ardg5xr5amwvspaz9n71kf8x49xfllda61rm0")
|
||||
(fetchbower "angular-route" "1.6.10" "~1.6.3" "0vwbn7i45yvsn8c469nj141ahrn7iw85j7hy3vvhh2r373j94mai")
|
||||
(fetchbower "angular-sanitize" "1.6.10" "~1.6.3" "066gsdl19s27w00wafg2skf5abdsdrlzhkcagkk1ma39dyqyl4i3")
|
||||
(fetchbower "angular-toastr" "1.6.0" "1.6.0" "1szigf1m28bgpfyg8hbm5rffr5zi7wr9n73nc1fqhk0yqh7gzysh")
|
||||
(fetchbower "angular-tools/ng-jsoneditor" "ea138469f157d8f2b54ec5b8dcf4b08a55b61459" "ea138469f157d8f2b54ec5b8dcf4b08a55b61459" "1j3vysr01niabc9fxcpixhcq1lyx2fr4q4wpmxhmiqki431h9hq8")
|
||||
(fetchbower "angular-ua-parser" "0.0.2" "0.0.2" "0gb0vmwksnydlm6hklfq1n4ak2967wcmnx3cx9cgiv7v7vk3w2m9")
|
||||
(fetchbower "bootstrap" "3.1.1" "3.1.1" "1a06mx1rw5h4wq89kqpa8g2pbiddm3p21dxq50jyi29sywd01ny4")
|
||||
(fetchbower "bootstrap-sass-official" "3.1.1" "3.1.1" "1k6hhvsd75hdfrz8qcjzmb12c17fdn0h3l3l5k9wgd0rfhhfkyvd")
|
||||
(fetchbower "fontawesome" "4.4.0" "~4.4.0" "09mrbik8i3skjwchn7ns2020bqmb51kbd3mqi59vh444s4az2sc7")
|
||||
(fetchbower "highlightjs" "9.1.0" "~9.1.0" "0ld1da3h416a5j8v3v50rrpm4xwvvq8k8y2vwncvaqm9cqddz4s3")
|
||||
(fetchbower "moment" "2.16.0" "~2.16.0" "1mji892i60f2aw3vhl6878acrcgh0ycn3r4af0ivnjf8az2b9n71")
|
||||
(fetchbower "moment-picker" "0.9.11" "~0.9.7" "0p2g6rp2kcixydrga9lfihg4bxb598rvpi8n8l59mp549diy7vsb")
|
||||
(fetchbower "ua-parser-js" "0.7.20" "~0.7.12" "18r0islba6cwkvx4s2gna7skhsn2vqjcf1xyap5pcmycjnq93j8s")
|
||||
(fetchbower "jsoneditor" "5.5.11" "~5.5.10" "1gfsf8jqnd3hb3r9s9246mg40iqxk2ix8k4bjnrsbfmg6cd3xw6x")
|
||||
(fetchbower "jquery" "3.4.1" ">= 1.9.0" "1vk25pbc55m2c82mqf26rfhxhnliq18isi4vbm4p98a1b9vp8fq7")
|
||||
]; }
|
@ -1,53 +0,0 @@
|
||||
{ lib, stdenv, fetchFromGitHub, buildBowerComponents, buildGoPackage, makeWrapper }:
|
||||
|
||||
let
|
||||
inherit (import ./src.nix) version sha256;
|
||||
owner = "sensu";
|
||||
repo = "uchiwa";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner repo sha256;
|
||||
rev = version;
|
||||
};
|
||||
|
||||
backend = buildGoPackage {
|
||||
pname = "uchiwa-backend";
|
||||
inherit version;
|
||||
goPackagePath = "github.com/${owner}/${repo}";
|
||||
inherit src;
|
||||
postInstall = ''
|
||||
mkdir -p $out
|
||||
cp go/src/github.com/sensu/uchiwa/public/index.html $out/
|
||||
'';
|
||||
};
|
||||
|
||||
frontend = buildBowerComponents {
|
||||
name = "uchiwa-frontend-${version}";
|
||||
generated = ./bower-packages.nix;
|
||||
inherit src;
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
pname = "uchiwa";
|
||||
inherit version;
|
||||
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin $out/public
|
||||
makeWrapper ${backend}/bin/uchiwa $out/bin/uchiwa \
|
||||
--add-flags "-p $out/public"
|
||||
ln -s ${backend.out}/index.html $out/public/index.html
|
||||
ln -s ${frontend.out}/bower_components $out/public/bower_components
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Dashboard for the sensu monitoring framework";
|
||||
homepage = "http://sensuapp.org/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
version = "1.7.0-1";
|
||||
sha256 = "0fa3zzh6d8v1lfn828s0x65pcknycwyv0d1mndi0gvdfbfg463nf";
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl.bin git.out nix jq.out nodePackages.bower2nix
|
||||
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
# set -x
|
||||
|
||||
REPO=sensu/uchiwa
|
||||
VERSION=0.0.1
|
||||
SHA="1111111111111111111111111111111111111111111111111111"
|
||||
DIR=$(pwd)
|
||||
|
||||
write_src() {
|
||||
cat <<_EOF > $DIR/src.nix
|
||||
{
|
||||
version = "${VERSION}";
|
||||
sha256 = "${SHA}";
|
||||
}
|
||||
_EOF
|
||||
}
|
||||
|
||||
LATEST_VERSION=$(curl https://api.github.com/repos/${REPO}/tags -s | jq '.[0]' -r | jq .name -r)
|
||||
echo "Latest version: ${LATEST_VERSION}"
|
||||
|
||||
VERSION=${1:-${LATEST_VERSION}}
|
||||
echo "Updating to: ${VERSION}"
|
||||
|
||||
TOP=$(git rev-parse --show-toplevel)
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
write_src
|
||||
pushd $TOP >/dev/null
|
||||
SHA=$(nix-prefetch-url -A uchiwa.src)
|
||||
popd >/dev/null
|
||||
write_src
|
||||
|
||||
curl https://raw.githubusercontent.com/${REPO}/${VERSION}/bower.json -s > bower.json
|
||||
rm -f bower-packages.nix
|
||||
bower2nix bower.json $DIR/bower-packages.nix
|
||||
rm -f bower.json
|
@ -1310,6 +1310,7 @@ mapAliases ({
|
||||
|
||||
uberwriter = apostrophe; # Added 2020-04-23
|
||||
ubootBeagleboneBlack = ubootAmx335xEVM; # Added 2020-01-21
|
||||
uchiwa = throw "uchiwa is deprecated and archived by upstream"; # Added 2022-05-02
|
||||
ucsFonts = throw "'ucsFonts' has been renamed to/replaced by 'ucs-fonts'"; # Converted to throw 2022-02-22
|
||||
ufraw = throw "ufraw is unmaintained and has been removed from nixpkgs. Its successor, nufraw, doesn't seem to be stable enough. Consider using Darktable for now"; # Added 2020-01-11
|
||||
ultrastardx-beta = throw "'ultrastardx-beta' has been renamed to/replaced by 'ultrastardx'"; # Converted to throw 2022-02-22
|
||||
|
@ -22520,8 +22520,6 @@ with pkgs;
|
||||
|
||||
check-wmiplus = callPackage ../servers/monitoring/plugins/wmiplus { };
|
||||
|
||||
uchiwa = callPackage ../servers/monitoring/uchiwa { };
|
||||
|
||||
shishi = callPackage ../servers/shishi {
|
||||
pam = if stdenv.isLinux then pam else null;
|
||||
# see also openssl, which has/had this same trick
|
||||
|
Loading…
Reference in New Issue
Block a user