2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, pythonPackages }:
|
2017-02-26 09:43:39 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-03-04 10:24:39 +01:00
|
|
|
version = "0.7.10";
|
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";
|
2023-03-04 10:24:39 +01:00
|
|
|
sha256 = "sha256-dmIHPehkxpSb78ymVpcPCu4L41coskrHQOg067dprOo=";
|
2017-02-26 09:43:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags=["PREFIX=\${out}"];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pythonPackages.wrapPython
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ pyenchant regex ];
|
|
|
|
|
|
|
|
postFixup = ''
|
2020-08-11 01:07:19 +02:00
|
|
|
wrapPythonPrograms
|
2017-02-26 09:43:39 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://jwilk.net/software/mwic";
|
2017-02-26 09:43:39 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|