about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/marisa/default.nix
blob: ed824ec759221f369ee52d7ef1b19b144ecf24fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "marisa-${version}";
  version = "0.2.4";

  src = fetchurl {
    url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/marisa-trie/marisa-${version}.tar.gz";
    sha256 = "1cwzf8hr348zihkiy0qckx0n6rxg7sy113xhbslb1irw1pvs99v7";
  };

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    homepage    = https://github.com/s-yata/marisa-trie;
    description = "Static and space-efficient trie data structure library";
    license     = licenses.bsd3;
    maintainers = with maintainers; [ sifmelcara ];
    platforms   = platforms.all;
  };
}