Merge pull request #146263 from matthiasbeyer/add-kdash

kdash: init at 0.3.1
main
Pascal Bach 2 years ago committed by GitHub
commit e6834ffb7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 34
      pkgs/development/tools/kdash/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -0,0 +1,34 @@
{ lib, stdenv
, fetchFromGitHub
, rustPlatform
, pkg-config
, perl
, python3
, openssl
, xorg
}:
rustPlatform.buildRustPackage rec {
pname = "kdash";
version = "0.3.1";
src = fetchFromGitHub {
owner = "kdash-rs";
repo = pname;
rev = "v${version}";
sha256 = "08ca638kvs98xhbc9g1szw0730cjk9g01qqaja8j413n2h1pr8yq";
};
nativeBuildInputs = [ perl python3 pkg-config ];
buildInputs = [ openssl xorg.xcbutil ];
cargoSha256 = "0nb554y8r7gvw7ls6gnrg98xxbws0mc6zdsc6ss3p2x9z8xwx204";
meta = with lib; {
description = "A simple and fast dashboard for Kubernetes";
homepage = "https://github.com/kdash-rs/kdash";
license = with licenses; [ mit ];
maintainers = with maintainers; [ matthiasbeyer ];
};
}

@ -7378,6 +7378,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) AppKit;
};
kdash = callPackage ../development/tools/kdash { };
kdbplus = pkgsi686Linux.callPackage ../applications/misc/kdbplus { };
keepalived = callPackage ../tools/networking/keepalived { };

Loading…
Cancel
Save