Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyphen: init at 2.8.8 #73208

Merged
merged 1 commit into from
Nov 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions pkgs/development/libraries/hyphen/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchurl, perl, ... }:

let
version = "2.8.8";
folder = with builtins;
let parts = splitVersion version;
in concatStringsSep "." [ (elemAt parts 0) (elemAt parts 1) ];
in stdenv.mkDerivation rec {
pname = "hyphen";
inherit version;

nativeBuildInputs = [ perl ];

src = fetchurl {
url =
"https://sourceforge.net/projects/hunspell/files/Hyphen/${folder}/${pname}-${version}.tar.gz";
sha256 = "01ap9pr6zzzbp4ky0vy7i1983fwyqy27pl0ld55s30fdxka3ciih";
};

meta = with stdenv.lib; {
description = "A text hyphenation library";
homepage = "https://sourceforge.net/projects/hunspell/files/Hyphen/";
platforms = platforms.all;
license = with licenses; [ gpl2 lgpl21 mpl11 ];
maintainers = with maintainers; [ filalex77 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3992,6 +3992,8 @@ in

hylafaxplus = callPackage ../servers/hylafaxplus { };

hyphen = callPackage ../development/libraries/hyphen { };

i2c-tools = callPackage ../os-specific/linux/i2c-tools { };

i2p = callPackage ../tools/networking/i2p {};
Expand Down