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