diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-02-26 09:43:39 +0100 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-02-26 09:43:39 +0100 |
commit | bfe1d74eb83ff2fca1db158d0e08b404bc9a60e6 (patch) | |
tree | 63b54a9bafda41e9b7f871c323702582da7b5dcb /pkgs/applications | |
parent | a78b801c54ecf2a52e14833bc8453a759466d47b (diff) |
mwic: init at 0.7.2 (#23183)
* mwic: init at 0.7.2
* mwic: use makefile instead
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/mwic/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/misc/mwic/default.nix b/pkgs/applications/misc/mwic/default.nix new file mode 100644 index 000000000000..7b9b04c66c8d --- /dev/null +++ b/pkgs/applications/misc/mwic/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, pythonPackages }: + +stdenv.mkDerivation rec { + version = "0.7.2"; + name = "mwic-${version}"; + + src = fetchurl { + url = "https://github.com/jwilk/mwic/releases/download/${version}/${name}.tar.gz"; + sha256 = "1linpagf0i0ggicq02fcvz4rpx7xdpy80ys49wx7fnmz7f3jc6jy"; + }; + + 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 ]; + }; +} + |