2023-09-12 08:44:05 -06:00
|
|
|
{ callPackage
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
,
|
|
|
|
}:
|
|
|
|
let
|
2023-08-29 17:53:40 -06:00
|
|
|
inherit (builtins) readFile fromJSON;
|
2023-09-12 08:44:05 -06:00
|
|
|
common = opts: callPackage (import ./common.nix opts) { };
|
2023-08-29 17:53:40 -06:00
|
|
|
verStr = fromJSON (readFile ./version.json);
|
2023-09-12 08:44:05 -06:00
|
|
|
in
|
|
|
|
{
|
2023-08-29 07:35:37 -06:00
|
|
|
openssh = common {
|
|
|
|
pname = "openssh";
|
2023-08-29 17:53:40 -06:00
|
|
|
inherit (verStr) version;
|
2023-08-29 07:35:37 -06:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-08-29 17:53:40 -06:00
|
|
|
inherit (verStr) rev hash;
|
2023-08-29 07:35:37 -06:00
|
|
|
owner = "openssh";
|
|
|
|
repo = "openssh-portable";
|
|
|
|
};
|
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
extraPatches = [ ./ssh-keysign-8.5.patch ];
|
|
|
|
extraMeta.maintainers = with lib.maintainers; [ qbit ];
|
2023-08-29 07:35:37 -06:00
|
|
|
};
|
|
|
|
}
|