File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments