btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / li / libdivsufsort / package.nix
blobf2a2dae5f8165d9b78ff475a67524d3b019b8471
1 {lib, stdenv, fetchFromGitHub, cmake}:
3 stdenv.mkDerivation rec {
4   pname = "libdivsufsort";
5   version = "2.0.1";
7   src = fetchFromGitHub {
8     owner = "y-256";
9     repo = pname;
10     rev = "${version}";
11     hash = "sha256-4p+L1bq9SBgWSHXx+WYWAe60V2g1AN+zlJvC+F367Tk=";
12   };
14   nativeBuildInputs = [ cmake ];
16   meta = {
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;
21   };