Merge pull request #165812 from elohmeier/ksmbd-tools

ksmbd-tools: init at 3.4.5
This commit is contained in:
Jonas Heinrich 2022-09-06 08:44:45 +02:00 committed by GitHub
commit 53112c7ba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchFromGitHub
, autoconf
, automake
, glib
, libkrb5
, libnl
, libtool
, pkg-config
, withKerberos ? false
}:
stdenv.mkDerivation rec {
pname = "ksmbd-tools";
version = "3.4.5";
src = fetchFromGitHub {
owner = "cifsd-team";
repo = pname;
rev = version;
sha256 = "sha256-sSCLXNdVUAdk+GnFlVx/BsAzyfz0KDdugJ1isrOztgs=";
};
buildInputs = [ glib libnl ] ++ lib.optional withKerberos libkrb5;
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
preConfigure = "./autogen.sh";
configureFlags = lib.optional withKerberos "--enable-krb5";
meta = with lib; {
description = "Userspace utilities for the ksmbd kernel SMB server";
homepage = "https://www.kernel.org/doc/html/latest/filesystems/cifs/ksmbd.html";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ elohmeier ];
};
}

View File

@ -1301,6 +1301,8 @@ with pkgs;
kanata-with-cmd = callPackage ../tools/system/kanata { withCmd = true; };
ksmbd-tools = callPackage ../os-specific/linux/ksmbd-tools { };
ksnip = libsForQt5.callPackage ../tools/misc/ksnip { };
kubevirt = callPackage ../tools/virtualization/kubevirt { };