2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchzip, libtool, ghostscript, groff, autoreconfHook }:
|
2018-10-09 19:14:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fstrcmp";
|
2018-10-09 19:14:33 +00:00
|
|
|
version = "0.7";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://sourceforge.net/projects/fstrcmp/files/fstrcmp/${version}/fstrcmp-${version}.D001.tar.gz";
|
|
|
|
sha256 = "0yg3y3k0wz50gmhgigfi2dx725w1gc8snb95ih7vpcnj6kabgz9a";
|
|
|
|
};
|
|
|
|
|
2020-04-02 18:01:33 +00:00
|
|
|
patches = [ ./cross.patch ];
|
|
|
|
|
2018-10-09 19:14:33 +00:00
|
|
|
outputs = [ "out" "dev" "doc" "man" "devman" ];
|
|
|
|
|
2020-04-02 18:01:33 +00:00
|
|
|
nativeBuildInputs = [ libtool ghostscript groff autoreconfHook ];
|
2018-10-09 19:14:33 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-10-09 19:14:33 +00:00
|
|
|
description = "Make fuzzy comparisons of strings and byte arrays";
|
|
|
|
longDescription = ''
|
|
|
|
The fstrcmp project provides a library that is used to make fuzzy
|
|
|
|
comparisons of strings and byte arrays, including multi-byte character
|
|
|
|
strings.
|
|
|
|
'';
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://fstrcmp.sourceforge.net/";
|
2020-04-01 01:11:51 +00:00
|
|
|
downloadPage = "https://sourceforge.net/projects/fstrcmp/";
|
2018-10-09 19:14:33 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.sephalon ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|