46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
31 lines
779 B
Nix
31 lines
779 B
Nix
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.7";
|
|
pname = "mwic";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/jwilk/mwic/releases/download/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "0l4anwiiqclymx0awwn4hzaj8n26ycg8nz76wjphsyscn7z2awad";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|