From 758209f075037cf7de05518bd40d0e4c68d93728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 5 Jul 2012 11:07:26 +0200 Subject: [PATCH] Adding libdivsufsort. Required for zpaq; I want to package it. --- .../libraries/libdivsufsort/default.nix | 16 ++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/libdivsufsort/default.nix diff --git a/pkgs/development/libraries/libdivsufsort/default.nix b/pkgs/development/libraries/libdivsufsort/default.nix new file mode 100644 index 000000000000..21ee2351c58f --- /dev/null +++ b/pkgs/development/libraries/libdivsufsort/default.nix @@ -0,0 +1,16 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "libdivsufsort-2.0.1"; + + src = fetchurl { + url = http://libdivsufsort.googlecode.com/files/libdivsufsort-2.0.1.tar.bz2; + sha256 = "1g0q40vb2k689bpasa914yi8sjsmih04017mw20zaqqpxa32rh2m"; + }; + + meta = { + homepage = http://code.google.com/p/libdivsufsort/; + license = "MIT"; + description = "Library to construct the suffix array and the BW transformed string"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e21558ac5117..a8ac77c699a2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3953,6 +3953,8 @@ let libdiscid = callPackage ../development/libraries/libdiscid { }; + libdivsufsort = callPackage ../development/libraries/libdivsufsort { }; + libdmtx = callPackage ../development/libraries/libdmtx { }; libdnet = callPackage ../development/libraries/libdnet { };