Merge pull request #218366 from Vonfry/update/fortune-3.16

This commit is contained in:
Sandro 2023-03-04 17:25:53 +01:00 committed by GitHub
commit 1bd77e9b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];