mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
git-series: use nixpkgs libssh2
This replaces the vendored copy from libssh2-sys.
This commit is contained in:
parent
77539c6dad
commit
476d1bec07
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user