mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
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;
|
||||
|
||||
|
@ -28,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 a new issue