mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
39 lines
822 B
Nix
39 lines
822 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, pkg-config
|
|
, perl
|
|
, python3
|
|
, openssl
|
|
, xorg
|
|
, AppKit
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "kdash";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kdash-rs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-XY6aBqLHbif3RsytNm7JnDXspICJuhS7SJ+ApwTeqX4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ perl python3 pkg-config ];
|
|
|
|
buildInputs = [ openssl xorg.xcbutil ]
|
|
++ lib.optional stdenv.isDarwin AppKit;
|
|
|
|
cargoHash = "sha256-ODQf+Fvil+oBJcM38h1HdrcgtJw0b65f5auLuZtUgik=";
|
|
|
|
meta = with lib; {
|
|
description = "Simple and fast dashboard for Kubernetes";
|
|
mainProgram = "kdash";
|
|
homepage = "https://github.com/kdash-rs/kdash";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
};
|
|
}
|