Add dhall-ruby to website (#892)

Co-Authored-By: singpolyma <singpolyma@singpolyma.net>
This commit is contained in:
Stephen Paul Weber 2019-04-13 23:08:34 -05:00 committed by Gabriel Gonzalez
parent 0804689da1
commit d0fb71b0ba
3 changed files with 9 additions and 0 deletions

View File

@ -142,6 +142,8 @@
<a class="nav-link" href="https://github.com/dhall-lang/dhall-haskell/blob/master/dhall/README.md"><img src = "./img/haskell-logo.png" height="32px" alt="Haskell logo"><span>Haskell</span></a>
<div class="dropdown-divider"></div>
<a class="nav-link" href="https://github.com/dhall-lang/dhall-nix/blob/master/README.md"><img src = "./img/nix-logo.png" height="32px" alt="Nix logo"><span>Nix</span></a>
<div class="dropdown-divider"></div>
<a class="nav-link" href="https://git.sr.ht/~singpolyma/dhall-ruby"><img src = "./img/ruby-logo.svg" height="32px" alt="Ruby logo"><span>Ruby</span></a>
</div>
</li>
<li class="nav-item">

View File

@ -28,6 +28,12 @@ let
sha256 = "0mrjzv690g9mxljzxsvay8asyr8vlxhhs9smmax7mp3psd49b43g";
};
ruby =
pkgsNew.fetchurl {
url = "https://upload.wikimedia.org/wikipedia/commons/7/73/Ruby_logo.svg";
sha256 = "1yvvdqcmgpa75y7px3isi4x6690iksq52ilnbslhn7mcngikw6m9";
};
dhallLarge =
pkgsNew.fetchurl {
url = "https://raw.githubusercontent.com/dhall-lang/dhall-lang/8bab26f9515cc1007025e0ab4b4e7dd6e95a7103/img/dhall-logo.png";

View File

@ -19,6 +19,7 @@ runCommand "try-dhall" {} ''
${coreutils}/bin/ln --symbolic ${haskell.packages.ghcjs.dhall-try}/bin/dhall-try.jsexe/all.min.js $out/js
${coreutils}/bin/ln --symbolic ${logo.bash} $out/img/bash-logo.png
${coreutils}/bin/ln --symbolic ${logo.clojure} $out/img/clojure-logo.svg
${coreutils}/bin/ln --symbolic ${logo.ruby} $out/img/ruby-logo.svg
${coreutils}/bin/ln --symbolic ${logo.discourse} $out/img/discourse-logo.svg
${coreutils}/bin/ln --symbolic ${logo.dhallLarge} $out/img/dhall-large-logo.png
${coreutils}/bin/ln --symbolic ${logo.dhallSmall} $out/img/dhall-small-logo.png