Unverified Commit 724569db authored by Vonfry's avatar Vonfry
Browse files

fortune: 3.14.1 -> 3.16.0

add rinutils into native build inputs to avoid missing pack in releases
parent 9952d6bc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, cmake, recode, perl, withOffensive ? false }:
{ lib, stdenv, fetchurl, cmake, recode, perl, rinutils, withOffensive ? false }:

stdenv.mkDerivation rec {
  pname = "fortune-mod";
  version = "3.14.1";
  version = "3.16.0";

  # We use fetchurl instead of fetchFromGitHub because the release pack has some
  # special files.
  src = fetchurl {
    url = "https://github.com/shlomif/fortune-mod/releases/download/${pname}-${version}/${pname}-${version}.tar.xz";
    sha256 = "sha256-NnAj9dsB1ZUuTm2W8mPdK2h15Dtro8ve6c+tPoKUsXs=";
    sha256 = "sha256-dkpkTBulXaN52BHaV4MWEIoQFkmWaG66O9Ppes/GLPo=";
  };

  nativeBuildInputs = [ cmake perl ];
  nativeBuildInputs = [ cmake perl rinutils ];

  buildInputs = [ recode ];