oxidized: fix ssh support (#425381)

authored by stepbrobd.com and committed by GitHub 790c3731 88ae3598

+56 -6
-1
pkgs/by-name/ox/oxidized/.bundle/config
··· 1 - BUNDLE_BUILD__RUGGED: --with-ssh
+56 -5
pkgs/by-name/ox/oxidized/package.nix
··· 4 4 bundlerApp, 5 5 bundlerUpdateScript, 6 6 nixosTests, 7 + libssh2, 8 + pkg-config, 9 + openssl, 10 + cmake, 11 + libgit2, 12 + icu, 13 + which, 14 + file, 15 + zlib, 16 + libyaml, 7 17 }: 8 18 9 19 bundlerApp { ··· 17 27 "oxs" 18 28 ]; 19 29 30 + gemConfig = { 31 + rugged = attrs: { 32 + buildInputs = [ 33 + pkg-config 34 + cmake 35 + ]; 36 + nativeBuildInputs = [ 37 + pkg-config 38 + cmake 39 + ]; 40 + propagatedBuildInputs = [ 41 + libssh2 42 + openssl 43 + libgit2 44 + ]; 45 + 46 + dontUseCmakeConfigure = true; 47 + buildFlags = [ "--with-ssh" ]; 48 + }; 49 + 50 + charlock_holmes = attrs: { 51 + buildInputs = [ 52 + icu 53 + zlib 54 + ]; 55 + nativeBuildInputs = [ 56 + which 57 + pkg-config 58 + file 59 + ]; 60 + }; 61 + 62 + psych = attrs: { 63 + buildInputs = [ libyaml ]; 64 + nativeBuildInputs = [ pkg-config ]; 65 + }; 66 + }; 67 + 20 68 passthru = { 21 69 tests = nixosTests.oxidized; 22 70 updateScript = bundlerUpdateScript "oxidized"; 23 71 }; 24 72 25 - meta = with lib; { 73 + meta = { 26 74 description = "Network device configuration backup tool. It's a RANCID replacement"; 27 75 homepage = "https://github.com/ytti/oxidized"; 28 - license = licenses.asl20; 29 - maintainers = with maintainers; [ nicknovitski ]; 30 - teams = [ teams.wdz ]; 31 - platforms = platforms.linux; 76 + license = lib.licenses.asl20; 77 + maintainers = with lib.maintainers; [ 78 + nicknovitski 79 + liberodark 80 + ]; 81 + teams = with lib.teams; [ wdz ]; 82 + platforms = lib.platforms.linux; 32 83 }; 33 84 }