2017-02-26 08:43:39 +00:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-04-25 10:41:37 +01:00
|
|
|
version = "0.7.3";
|
2017-02-26 08:43:39 +00:00
|
|
|
name = "mwic-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/jwilk/mwic/releases/download/${version}/${name}.tar.gz";
|
2017-04-25 10:41:37 +01:00
|
|
|
sha256 = "0baa2pnaba954k169p9rpzc66mhz9zqdd3lz9q95rp9dgygvchzn";
|
2017-02-26 08:43:39 +00: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;
|
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|