fortune: 3.14.1 -> 3.16.0

add rinutils into native build inputs to avoid missing pack in releases
This commit is contained in:
Vonfry 2023-02-26 12:05:03 +08:00
parent 9952d6bc39
commit 724569db28
No known key found for this signature in database
GPG Key ID: E47DA4B266B726FA

View File

@ -1,17 +1,17 @@
{ 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 ];