mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
18 lines
548 B
Nix
18 lines
548 B
Nix
{ cabal, random }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "edit-distance";
|
|
version = "0.2.1.1";
|
|
sha256 = "1d8h38cn3azvsp2dp5gycglm5bwwd8plbag8ypi38yj6c35a82yn";
|
|
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 ];
|
|
};
|
|
})
|