nixpkgs/pkgs/applications/misc/mwic/default.nix
R. RyanTM 7ce53bee97 mwic: 0.7.4 -> 0.7.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/mwic/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.7.5 with grep in /nix/store/3r91cbyw9xi6iy67l5nalznb7rkq1idq-mwic-0.7.5
- directory tree listing: https://gist.github.com/0513e07e310449f5f9f06de443e90f43
2018-04-30 14:42:45 -07:00

31 lines
763 B
Nix

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