sambamba: 0.8.1 -> 0.8.2 (#155972)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Justin Bedő 2022-01-23 14:51:46 +11:00 committed by GitHub
parent 215b559df4
commit c24af4642c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,27 +1,27 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, python3, which, ldc, zlib }:
{ lib
, stdenv
, fetchFromGitHub
, python3
, which
, ldc
, zlib
, lz4
}:
stdenv.mkDerivation rec {
pname = "sambamba";
version = "0.8.1";
version = "0.8.2";
src = fetchFromGitHub {
owner = "biod";
repo = "sambamba";
rev = "v${version}";
sha256 = "0f4qngnys2zjb0ri54k6kxqnssg938mnnscs4z9713hjn41rk7yd";
sha256 = "sha256-FEa9QjQoGNUOAtMNMZcqpTKMKVtXoBuOomTy0mpos/0=";
fetchSubmodules = true;
};
patches = [
# make ldc 1.27.1 compatible
(fetchpatch {
url = "https://github.com/biod/sambamba/pull/480/commits/b5c80feb62683d24ec0529f685a1d7a36962a1d4.patch";
sha256 = "0yr9baxqbhyb4scwcwczk77z8gazhkl60jllhz9dnrb7p5qsvs7r";
})
];
nativeBuildInputs = [ which python3 ldc ];
buildInputs = [ zlib ];
buildInputs = [ zlib lz4 ];
# Upstream's install target is broken; copy manually
installPhase = ''