mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
fzssh: init at 1.2.1
This commit is contained in:
60
pkgs/by-name/fz/fzssh/package.nix
Normal file
60
pkgs/by-name/fz/fzssh/package.nix
Normal 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" ];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user