2017-02-26 09:43:39 +01:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-04-30 23:42:45 +02:00
|
|
|
version = "0.7.5";
|
2017-02-26 09:43:39 +01:00
|
|
|
name = "mwic-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/jwilk/mwic/releases/download/${version}/${name}.tar.gz";
|
2018-04-30 23:42:45 +02:00
|
|
|
sha256 = "1b4fz9vs0aihg9nj9aj6d2jmykpa9nxi9rvz06v50wwk515plpmc";
|
2017-02-26 09:43:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags=["PREFIX=\${out}"];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pythonPackages.wrapPython
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ pyenchant regex ];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
buildPythonPath "$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://jwilk.net/software/mwic;
|
|
|
|
description = "spell-checker that groups possible misspellings and shows them in their contexts";
|
|
|
|
license = licenses.mit;
|
2018-04-06 10:57:19 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-02-26 09:43:39 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|