storj-uplink: 1.119.15 -> 1.120.4 (#375732)
[NixPkgs.git] / pkgs / by-name / li / libdivsufsort / package.nix
blobc180b8698c5c2c426e61fa17ae4cc71c2f9d4f80
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "libdivsufsort";
10   version = "2.0.1";
12   src = fetchFromGitHub {
13     owner = "y-256";
14     repo = pname;
15     rev = "${version}";
16     hash = "sha256-4p+L1bq9SBgWSHXx+WYWAe60V2g1AN+zlJvC+F367Tk=";
17   };
19   cmakeFlags = [
20     "-DBUILD_DIVSUFSORT64=YES"
21   ];
23   nativeBuildInputs = [ cmake ];
25   meta = {
26     homepage = "https://github.com/y-256/libdivsufsort";
27     license = lib.licenses.mit;
28     description = "Library to construct the suffix array and the BW transformed string";
29     platforms = lib.platforms.unix;
30   };