fzssh: init at 1.2.1

This commit is contained in:
Robert Schütz
2026-05-27 12:32:56 -07:00
parent 4f8dc20584
commit 1369bf0fd8

View File

@@ -0,0 +1,60 @@
{
fetchurl,
lib,
libargon2,
libfilezilla,
meson,
nettle,
ninja,
pkg-config,
stdenv,
testers,
autoreconfHook,
gettext,
gnutls,
libiconv,
libxcrypt,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fzssh";
version = "1.2.1";
__structuredAttrs = true;
src = fetchurl {
# Upstream download link was made unstable on purpose
# See https://trac.filezilla-project.org/ticket/13186
url = "https://sources.archlinux.org/other/packages/fzssh/fzssh-${finalAttrs.version}.tar.xz";
hash = "sha256-oFj1meahLF00t0hu4Ra4zvfG5sq/6xchd5xDjGHx/h0=";
};
strictDeps = true;
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
libargon2
libfilezilla
nettle
];
passthru.tests = {
pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
versionCheck = true;
};
};
meta = {
homepage = "https://lib.filezilla-project.org/";
description = "SSH/SFTP library based on libfilezilla";
license = lib.licenses.gpl3Plus;
maintainers = [ ];
pkgConfigModules = [ "libfzssh-client" ];
};
})