lol

advancecomp: 2.1 -> 2.3

+2 -19
+2 -19
pkgs/tools/compression/advancecomp/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitHub 3 - , fetchpatch 4 3 , autoreconfHook 5 4 , zlib 6 5 }: 7 6 8 7 stdenv.mkDerivation rec { 9 8 pname = "advancecomp"; 10 - version = "2.1"; 9 + version = "2.3"; 11 10 12 11 src = fetchFromGitHub { 13 12 owner = "amadvance"; 14 13 repo = "advancecomp"; 15 14 rev = "v${version}"; 16 - sha256 = "1pd6czamamrd0ppk5a3a65hcgdlqwja98aandhqiajhnibwldv8x"; 15 + hash = "sha256-klyTqqZs5TwadgDP8LJ1wUhXlO+/kQPM6qhiSki31Q8="; 17 16 }; 18 17 19 18 nativeBuildInputs = [ autoreconfHook ]; 20 19 buildInputs = [ zlib ]; 21 - 22 - patches = [ 23 - (fetchpatch { 24 - name = "CVE-2019-9210.patch"; 25 - url = "https://github.com/amadvance/advancecomp/commit/fcf71a89265c78fc26243574dda3a872574a5c02.patch"; 26 - sha256 = "0cdv9g87c1y8zwhqkd9ba2zjw4slcvg7yzcqv43idvnwb5fl29n7"; 27 - excludes = [ "doc/history.d" ]; 28 - }) 29 - 30 - # Pull upstream fix for gcc-11: 31 - (fetchpatch { 32 - name = "gcc-11.patch"; 33 - url = "https://github.com/amadvance/advancecomp/commit/7b08f7a2af3f66ab95437e4490499cebb20e5e41.patch"; 34 - sha256 = "0gpppq6b760m1429g7d808ipdgb4lrqc1b6xk2457y66pbaiwc9s"; 35 - }) 36 - ]; 37 20 38 21 # autover.sh relies on 'git describe', which obviously doesn't work as we're not cloning 39 22 # the full git repo. so we have to put the version number in `.version`, otherwise