depot/third_party/nixpkgs/pkgs/applications/misc/mwic/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
781 B
Nix

{ stdenv, fetchurl, pythonPackages }:
stdenv.mkDerivation rec {
version = "0.7.8";
pname = "mwic";
src = fetchurl {
url = "https://github.com/jwilk/mwic/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "0nnhziz9v523hpciylnxfajmxabh2ig5iawzwrfpf7aww70v330x";
};
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 ];
};
}