Unverified Commit 91790fcc authored by Zak B. Elep's avatar Zak B. Elep Committed by GitHub
Browse files

taoup: 1.21 -> 1.1.23 (#350998)

parents 41068dcc bd9e18e3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4,13 +4,13 @@ let
in
stdenv.mkDerivation rec {
  pname = "taoup";
  version = "1.21";
  version = "1.1.23";

  src = fetchFromGitHub {
    owner = "globalcitizen";
    repo = "taoup";
    rev = "v${version}";
    hash = "sha256-UHo3c+DQn77CJONy/QXM55rpIdhVkJbhR82tqmUltPQ=";
    hash = "sha256-9J46fKyeSZW71r67R8y9KVPeCH8fn27hOk/XpusqGmk=";
  };

  buildInputs = [ rubyEnv bash ncurses ];
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
     --subst-var-by pname taoup
    substituteInPlace taoup-fortune \
      --subst-var-by out $out \
      --replace "/bin/bash" "${bash}/bin/bash"
      --replace-fail "/bin/bash" "${bash}/bin/bash"
  '';

  dontConfigure = true;
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
    EOF
    chmod +x $out/bin/taoup

    # Populate the cache created by cachedir.patch above
    # Populate the cache created by cachefile.patch above
    $out/bin/taoup > $out/lib/taoup/cache

    cp taoup-fortune $out/bin