mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #165812 from elohmeier/ksmbd-tools
ksmbd-tools: init at 3.4.5
This commit is contained in:
commit
53112c7ba6
40
pkgs/os-specific/linux/ksmbd-tools/default.nix
Normal file
40
pkgs/os-specific/linux/ksmbd-tools/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user