mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00
openssh-portable: switch to fetchFromGitHub
This commit is contained in:
parent
02c1bcfc38
commit
cfaa89b03b
@ -1,7 +1,8 @@
|
|||||||
{ callPackage, fetchurl, fetchpatch, autoreconfHook }:
|
{ callPackage, fetchurl, fetchpatch, fetchFromGitHub, autoreconfHook }:
|
||||||
let
|
let
|
||||||
common = opts: callPackage (import ./common.nix opts) { };
|
common = opts: callPackage (import ./common.nix opts) { };
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
|
|
||||||
openssh = common rec {
|
openssh = common rec {
|
||||||
pname = "openssh";
|
pname = "openssh";
|
||||||
@ -20,9 +21,11 @@ in {
|
|||||||
version = "8.4p1";
|
version = "8.4p1";
|
||||||
extraDesc = " with high performance networking patches";
|
extraDesc = " with high performance networking patches";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/rapier1/openssh-portable/archive/hpn-KitchenSink-${builtins.replaceStrings [ "." "p" ] [ "_" "_P" ] version}.tar.gz";
|
owner = "rapier1";
|
||||||
sha256 = "1x2afjy1isslbg7qlvhhs4zhj2c8q2h1ljz0fc5b4h9pqcm9j540";
|
repo = "openssh-portable";
|
||||||
|
rev = "hpn-KitchenSink-${builtins.replaceStrings [ "." "p" ] [ "_" "_P" ] version}";
|
||||||
|
hash = "sha256-SYQPDGxZR41m4g603RaZaOYm4vCr9uZnFnZoKhruueY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraPatches = [
|
extraPatches = [
|
||||||
|
Loading…
Reference in New Issue
Block a user