Skip to content

Commit

Permalink
Merge pull request NixOS#172954 from risicle/ris-mruby-3.1.0
Browse files Browse the repository at this point in the history
mruby: 3.0.0 -> 3.1.0
  • Loading branch information
marsam authored May 14, 2022
2 parents 948bf6d + 55f51ff commit 2b04008
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions pkgs/development/compilers/mruby/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
{ lib, stdenv, ruby, bison, rake, fetchFromGitHub, fetchpatch }:
{ lib, stdenv, ruby, bison, rake, fetchFromGitHub }:

stdenv.mkDerivation rec {
pname = "mruby";
version = "3.0.0";
version = "3.1.0";

src = fetchFromGitHub {
owner = "mruby";
repo = "mruby";
rev = version;
sha256 = "sha256-C3K7ZooaOMa+V2HjxwiKxrrMb7ffl4QAgPsftRtb60c=";
sha256 = "0gnzip7qfadnl0r1k8bpc9a6796sy503h77ggds02wrz7mpq32nf";
};

patches = [
(fetchpatch {
name = "CVE-2022-1212.patch";
url = "https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6.patch";
sha256 = "1bl8wm6v7v18zgxqvm4kbn8g97a75phzrdah279xqw1qvplbd2w7";
})
];

nativeBuildInputs = [ ruby bison rake ];

# Necessary so it uses `gcc` instead of `ld` for linking.
Expand Down

0 comments on commit 2b04008

Please sign in to comment.