2017-02-26 08:43:39 +00:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-11-19 09:09:04 +00:00
|
|
|
version = "0.7.7";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mwic";
|
2017-02-26 08:43:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://github.com/jwilk/mwic/releases/download/${version}/${pname}-${version}.tar.gz";
|
2018-11-19 09:09:04 +00:00
|
|
|
sha256 = "0l4anwiiqclymx0awwn4hzaj8n26ycg8nz76wjphsyscn7z2awad";
|
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;
|
2019-02-20 18:52:48 +00:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
2017-02-26 08:43:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|