1{lib, stdenv, fetchurl}:
2
3stdenv.mkDerivation rec {
4 pname = "libdivsufsort";
5 version = "2.0.1";
6
7 src = fetchurl {
8 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libdivsufsort/libdivsufsort-${version}.tar.bz2";
9 sha256 = "1g0q40vb2k689bpasa914yi8sjsmih04017mw20zaqqpxa32rh2m";
10 };
11
12 meta = {
13 homepage = "https://github.com/y-256/libdivsufsort";
14 license = lib.licenses.mit;
15 description = "Library to construct the suffix array and the BW transformed string";
16 platforms = lib.platforms.unix;
17 };
18}