1 {lib, stdenv, fetchFromGitHub, cmake}:
3 stdenv.mkDerivation rec {
4 pname = "libdivsufsort";
7 src = fetchFromGitHub {
11 hash = "sha256-4p+L1bq9SBgWSHXx+WYWAe60V2g1AN+zlJvC+F367Tk=";
14 nativeBuildInputs = [ cmake ];
17 homepage = "https://github.com/y-256/libdivsufsort";
18 license = lib.licenses.mit;
19 description = "Library to construct the suffix array and the BW transformed string";
20 platforms = lib.platforms.unix;