mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
33 lines
801 B
Nix
33 lines
801 B
Nix
{ lib, stdenv, fetchurl, pythonPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.10";
|
|
pname = "mwic";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/jwilk/mwic/releases/download/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-dmIHPehkxpSb78ymVpcPCu4L41coskrHQOg067dprOo=";
|
|
};
|
|
|
|
makeFlags=["PREFIX=\${out}"];
|
|
|
|
nativeBuildInputs = [
|
|
pythonPackages.wrapPython
|
|
];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ pyenchant regex ];
|
|
|
|
postFixup = ''
|
|
wrapPythonPrograms
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "http://jwilk.net/software/mwic";
|
|
description = "spell-checker that groups possible misspellings and shows them in their contexts";
|
|
mainProgram = "mwic";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
};
|
|
}
|
|
|