Skip to content

Commit 73708e8

Browse files
authored
mscp: init at 0.2.1 (#344034)
2 parents f56dcff + c6dddb4 commit 73708e8

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

pkgs/by-name/ms/mscp/package.nix

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
cmake,
6+
zlib,
7+
openssl,
8+
krb5,
9+
}:
10+
stdenv.mkDerivation (finalAttrs: {
11+
pname = "mscp";
12+
version = "0.2.1";
13+
14+
src = fetchFromGitHub {
15+
owner = "upa";
16+
repo = "mscp";
17+
rev = "v${finalAttrs.version}";
18+
hash = "sha256-TWwvPLqGLhh/IE+hIz/jwaGLBoASs78Iqai1TxN7Wps=";
19+
fetchSubmodules = true;
20+
};
21+
22+
postPatch = ''
23+
echo ${lib.escapeShellArg finalAttrs.version} > VERSION
24+
patch -d libssh -p1 < patch/libssh-0.10.6-2-g6f1b1e76.patch
25+
'';
26+
27+
strictDeps = true;
28+
29+
nativeBuildInputs = [ cmake ];
30+
31+
buildInputs = [
32+
krb5
33+
openssl
34+
zlib
35+
];
36+
37+
meta = {
38+
description = "Transfer files over multiple SSH (SFTP) connections";
39+
homepage = "https://github.com/upa/mscp";
40+
mainProgram = "mscp";
41+
license = lib.licenses.gpl3Only;
42+
maintainers = lib.teams.deshaw.members;
43+
platforms = lib.platforms.unix;
44+
};
45+
})

0 commit comments

Comments
 (0)