From c66002b876ae34ff14a99422d2683bc35beada05 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 28 Feb 2024 07:32:11 -0700 Subject: [PATCH] pkgs/rkvm: remove as it is in nixpkgs now --- pkgs/rkvm.nix | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 pkgs/rkvm.nix diff --git a/pkgs/rkvm.nix b/pkgs/rkvm.nix deleted file mode 100644 index 387a12d..0000000 --- a/pkgs/rkvm.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib -, fetchFromGitHub -, rustPlatform -, pkg-config -, openssl_1_1 -, llvmPackages -, libevdev -, linuxHeaders -, ... -}: -rustPlatform.buildRustPackage { - pname = "rkvm"; - version = "0.0.0"; - - src = fetchFromGitHub { - owner = "htrefil"; - repo = "rkvm"; - rev = "bf133665eb446d9f128d02e4440cc67bce50f666"; - sha256 = "sha256-naWoLo3pPETkYuW4HATkrfjGcEHSGAAXixgp1HOlIcg="; - }; - - cargoSha256 = "sha256-5COhHc453QYiUoCtucg/Sz9bGq/Bpn/muDDZTsEsRII="; - - BINDGEN_EXTRA_CLANG_ARGS = "-I${lib.getDev libevdev}/include/libevdev-1.0"; - LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; - - nativeBuildInputs = [ llvmPackages.clang pkg-config openssl_1_1 ]; - buildInputs = [ libevdev openssl_1_1 linuxHeaders ]; - - doCheck = false; - - postInstall = '' - mv $out/bin/certificate-gen $out/bin/rkvm-cert-gen - mv $out/bin/server $out/bin/rkvm-server - mv $out/bin/client $out/bin/rkvm-client - ''; - - meta = with lib; { - description = "Virtual KVM switch for Linux machines"; - homepage = "https://github.com/htrefil/rkvm"; - license = licenses.mit; - maintainers = with maintainers; [ qbit ]; - platforms = [ "x86_64-linux" ]; - mainProgram = "rkvm"; - }; -}