default.nix (800B)
1 { lib, stdenv, fetchFromGitHub, autoreconfHook 2 , bison, flex, foma, pkg-config, icu, zlib }: 3 4 stdenv.mkDerivation (finalAttrs: { 5 pname = "hfst"; 6 version = "3.16.0"; 7 8 src = fetchFromGitHub { 9 owner = "hfst"; 10 repo = "hfst"; 11 rev = "v${finalAttrs.version}"; 12 hash = "sha256-2ST0s08Pcp+hTn7rUTgPE1QkH6PPWtiuFezXV3QW0kU="; 13 }; 14 15 nativeBuildInputs = [ autoreconfHook bison flex pkg-config ]; 16 17 buildInputs = [ foma icu zlib ]; 18 19 configureFlags = [ 20 "--with-foma-upstream=true" 21 ]; 22 23 enableParallelBuilding = true; 24 25 meta = with lib; { 26 description = "Helsinki Finite-State Technology (library and application suite)"; 27 homepage = "https://hfst.github.io"; 28 license = licenses.gpl3Plus; 29 maintainers = [ maintainers.sikmir ]; 30 platforms = platforms.unix; 31 }; 32 })