Merge pull request #73948 from edef1c/git-series-libssh2
git-series: use nixpkgs libssh2
This commit is contained in:
commit
3dd8e8e7fa
|
@ -1,4 +1,6 @@
|
||||||
{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform, openssl, cmake, perl, pkgconfig, zlib, curl, libgit2 }:
|
{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform
|
||||||
|
, openssl, cmake, perl, pkgconfig, zlib, curl, libgit2, libssh2
|
||||||
|
}:
|
||||||
|
|
||||||
with rustPlatform;
|
with rustPlatform;
|
||||||
|
|
||||||
|
@ -28,8 +30,9 @@ buildRustPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
||||||
|
LIBSSH2_SYS_USE_PKG_CONFIG = true;
|
||||||
nativeBuildInputs = [ cmake pkgconfig perl ];
|
nativeBuildInputs = [ cmake pkgconfig perl ];
|
||||||
buildInputs = [ openssl zlib curl libgit2 ];
|
buildInputs = [ openssl zlib curl libgit2 libssh2 ];
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
install -D "$src/git-series.1" "$out/man/man1/git-series.1"
|
install -D "$src/git-series.1" "$out/man/man1/git-series.1"
|
||||||
|
|
Loading…
Reference in New Issue