Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 37 lines 799 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, rustPlatform 5, pkg-config 6, perl 7, python3 8, openssl 9, xorg 10, AppKit 11}: 12 13rustPlatform.buildRustPackage rec { 14 pname = "kdash"; 15 version = "0.3.6"; 16 17 src = fetchFromGitHub { 18 owner = "kdash-rs"; 19 repo = pname; 20 rev = "v${version}"; 21 sha256 = "sha256-dXkYHRB0VZ3FGe1Zu78ZzocaVV4zSGzxRMC0WOHiZrE="; 22 }; 23 24 nativeBuildInputs = [ perl python3 pkg-config ]; 25 26 buildInputs = [ openssl xorg.xcbutil ] 27 ++ lib.optional stdenv.isDarwin AppKit; 28 29 cargoSha256 = "sha256-LWGoWFPZsTYa1hQnv1eNNmCKZsiLredvD6+kWanVEK0="; 30 31 meta = with lib; { 32 description = "A simple and fast dashboard for Kubernetes"; 33 homepage = "https://github.com/kdash-rs/kdash"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ matthiasbeyer ]; 36 }; 37}