2012-04-20 13:35:17 +02:00
|
|
|
{ cabal, random }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "edit-distance";
|
2012-10-08 11:25:24 +02:00
|
|
|
version = "0.2.1.1";
|
|
|
|
sha256 = "1d8h38cn3azvsp2dp5gycglm5bwwd8plbag8ypi38yj6c35a82yn";
|
2012-04-20 13:35:17 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ random ];
|
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/batterseapower/edit-distance";
|
|
|
|
description = "Levenshtein and restricted Damerau-Levenshtein edit distances";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|