diff --git a/pkgs/development/libraries/smarty3-i18n/default.nix b/pkgs/development/libraries/smarty3-i18n/default.nix new file mode 100644 index 000000000000..941e75b8ba92 --- /dev/null +++ b/pkgs/development/libraries/smarty3-i18n/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, ... }: stdenv.mkDerivation rec { + name = "smarty-i18n-${version}"; + version = "1.0"; + + src = fetchFromGitHub { + owner = "kikimosha"; + repo = "smarty3-i18n"; + rev = "${version}"; + sha256 = "0rjxq4wka73ayna3hb5dxc5pgc8bw8p5fy507yc6cv2pl4h4nji2"; + }; + + installPhase = '' + mkdir $out + cp block.t.php $out + ''; + + meta = with stdenv.lib; { + description = "gettext for the smarty3 framework"; + license = licenses.lgpl21; + homepage = https://github.com/kikimosha/smarty3-i18n; + maintainers = with maintainers; [ das_j ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a4f9398dbb7b..4b28c3ad52f1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5186,6 +5186,7 @@ with pkgs; }; smarty3 = callPackage ../development/libraries/smarty3 { }; + smarty3-i18n = callPackage ../development/libraries/smarty3-i18n { }; smbldaptools = callPackage ../tools/networking/smbldaptools { inherit (perlPackages) perlldap CryptSmbHash DigestSHA1;