Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
33 lines
758 B
Nix
33 lines
758 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
tinycmmc,
|
|
libiconv,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "tinygettext";
|
|
version = "0.1.0-unstable-2025-05-07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tinygettext";
|
|
repo = "tinygettext";
|
|
rev = "ef4164639004d7de5bf8ab28ed0e85ea521b7c5e";
|
|
sha256 = "sha256-if+uiVzDA3J+0HM6bVcXvm4lk82TmQmFHG4MtaxIFCk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ tinycmmc ];
|
|
propagatedBuildInputs = [ libiconv ];
|
|
|
|
meta = {
|
|
description = "A simple gettext replacement that works directly on .po files";
|
|
homepage = "https://github.com/tinygettext/tinygettext";
|
|
maintainers = [ lib.maintainers.SchweGELBin ];
|
|
platforms = lib.platforms.linux;
|
|
license = lib.licenses.zlib;
|
|
};
|
|
}
|