Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
71 lines
1.3 KiB
Nix
71 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
fetchpatch,
|
|
guile,
|
|
libssh,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
texinfo,
|
|
which,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "guile-ssh";
|
|
version = "0.18.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "artyom-poptsov";
|
|
repo = "guile-ssh";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-q7P/ehafnDtJhHOAWbswOfztkKHVtEw8OgcXKufVAX4=";
|
|
};
|
|
|
|
patches = [
|
|
(fetchpatch {
|
|
url = "https://github.com/artyom-poptsov/guile-ssh/pull/31/commits/38636c978f257d5228cd065837becabf5da16854.patch";
|
|
hash = "sha256-J+TDgdjihKoEjhbeH+BzqrHhjpVlGdscRj3L/GAFgKg=";
|
|
})
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
guile
|
|
pkg-config
|
|
texinfo
|
|
which
|
|
];
|
|
|
|
buildInputs = [
|
|
guile
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
libssh
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# FAIL: server-client.scm
|
|
doCheck = !stdenv.hostPlatform.isDarwin;
|
|
|
|
postInstall = ''
|
|
mv $out/bin/*.scm $out/share/guile-ssh
|
|
rmdir $out/bin
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Bindings to Libssh for GNU Guile";
|
|
homepage = "https://github.com/artyom-poptsov/guile-ssh";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [
|
|
ethancedwards8
|
|
foo-dogsquared
|
|
];
|
|
platforms = guile.meta.platforms;
|
|
};
|
|
})
|