1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

git-series: use nixpkgs libssh2

This replaces the vendored copy from libssh2-sys.
This commit is contained in:
edef 2019-11-23 02:16:18 +00:00
parent 77539c6dad
commit 476d1bec07

View file

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform
, openssl, cmake, perl, pkgconfig, zlib, curl, libgit2
, openssl, cmake, perl, pkgconfig, zlib, curl, libgit2, libssh2
}:
with rustPlatform;
@ -30,8 +30,9 @@ buildRustPackage rec {
];
LIBGIT2_SYS_USE_PKG_CONFIG = true;
LIBSSH2_SYS_USE_PKG_CONFIG = true;
nativeBuildInputs = [ cmake pkgconfig perl ];
buildInputs = [ openssl zlib curl libgit2 ];
buildInputs = [ openssl zlib curl libgit2 libssh2 ];
postBuild = ''
install -D "$src/git-series.1" "$out/man/man1/git-series.1"