nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 799a62422c1e4287415cf6d9065d5ec29aa00277
parent 340062c2ba184c7ab34973bd026d0aa0ad639ed4
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Tue, 12 Apr 2022 13:14:35 +0300

Up

Diffstat:
Mpkgs/gemini/gmi2html/default.nix | 6+++---
Mpkgs/linguistics/foma/default.nix | 6+++---
Mpkgs/linguistics/hfst/default.nix | 17+++++++++++++----
Mpkgs/linguistics/python-hfst/default.nix | 4++--
4 files changed, 21 insertions(+), 12 deletions(-)

diff --git a/pkgs/gemini/gmi2html/default.nix b/pkgs/gemini/gmi2html/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "gmi2html"; - version = "2022-01-03"; + version = "0.4.1"; src = fetchFromGitHub { owner = "shtanton"; repo = pname; - rev = "2ee16d29c2ffd4057f2e89efb0d323ef79c70010"; - hash = "sha256-wlFj/zymZgG8vaY9yUs4NmV+CCMsjgchCyNDvgqZTLk="; + rev = "v${version}"; + hash = "sha256-5m3erToDFkYOV1xoM+BLWbUOgP0A7TXthzQ0Sk1Qj+U="; }; postPatch = '' diff --git a/pkgs/linguistics/foma/default.nix b/pkgs/linguistics/foma/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "foma"; - version = "2021-06-04"; + version = "2022-02-26"; src = fetchFromGitHub { owner = "mhulden"; repo = pname; - rev = "180b6febf718af4b0223b6c7ac46f698a76e6a45"; - hash = "sha256-6pdd9yQ+o2uPwPWSFPUSpTk/UC/up8xv1SZY++hKPPk="; + rev = "82f9acdef234eae8b7619ccc3a386cc0d7df62bc"; + hash = "sha256-2ZL7SdjFmf1zD+jRsg0XybyX7mRsqbWV1ZMhiQINwO0="; }; sourceRoot = "${src.name}/foma"; diff --git a/pkgs/linguistics/hfst/default.nix b/pkgs/linguistics/hfst/default.nix @@ -1,17 +1,26 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, bison, flex }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook +, bison, flex, foma, pkg-config, icu, zlib }: stdenv.mkDerivation rec { pname = "hfst"; - version = "3.15.5"; + version = "3.16.0"; src = fetchFromGitHub { owner = "hfst"; repo = pname; rev = "v${version}"; - hash = "sha256-BvcueEdu+4rTeazvZ08BtNHkvGBIZi6W1+Fn3tJMxac="; + hash = "sha256-2ST0s08Pcp+hTn7rUTgPE1QkH6PPWtiuFezXV3QW0kU="; }; - nativeBuildInputs = [ autoreconfHook bison flex ]; + nativeBuildInputs = [ autoreconfHook bison flex pkg-config ]; + + buildInputs = [ foma icu zlib ]; + + configureFlags = [ + "--with-foma-upstream=true" + ]; + + enableParallelBuilding = true; meta = with lib; { description = "Helsinki Finite-State Technology (library and application suite)"; diff --git a/pkgs/linguistics/python-hfst/default.nix b/pkgs/linguistics/python-hfst/default.nix @@ -1,4 +1,4 @@ -{ lib, python3Packages, hfst, swig }: +{ lib, python3Packages, hfst, icu, swig }: python3Packages.buildPythonPackage rec { pname = "python-hfst"; @@ -6,7 +6,7 @@ python3Packages.buildPythonPackage rec { sourceRoot = "${src.name}/python"; - buildInputs = [ hfst ]; + buildInputs = [ hfst icu ]; nativeBuildInputs = [ swig ];