mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
965836aada
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
32 lines
763 B
Nix
32 lines
763 B
Nix
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.6";
|
|
name = "mwic-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/jwilk/mwic/releases/download/${version}/${name}.tar.gz";
|
|
sha256 = "0dl56979i54hrmz5l27c4q1f7jd1bpkmi7sm86946dagi4l1ns3i";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|
|
|