Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
709 B
Nix
32 lines
709 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
libmtsupport,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libfacet";
|
|
version = "0.0.1alpha2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/multitran/libfacet-${version}.tar.bz2";
|
|
sha256 = "dc53351c4035a3c27dc6c1d0410e808346fbc107e7e7c112ec65c59d0df7a144";
|
|
};
|
|
|
|
buildInputs = [ libmtsupport ];
|
|
|
|
patchPhase = ''
|
|
sed -i -e 's@\$(DESTDIR)/usr@'$out'@' \
|
|
-e 's@/usr/include/mt/support@${libmtsupport}/include/mt/support@' \
|
|
src/Makefile;
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://multitran.sourceforge.net/";
|
|
description = "Multitran lib: enchanced locale facets";
|
|
license = lib.licenses.gpl2Only;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|