@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, ... }: stdenv.mkDerivation rec {
2+ name = "smarty-i18n-${version}";
3+ version = "1.0";
4+
5+ src = fetchFromGitHub {
6+ owner = "kikimosha";
7+ repo = "smarty3-i18n";
8+ rev = "${version}";
9+ sha256 = "0rjxq4wka73ayna3hb5dxc5pgc8bw8p5fy507yc6cv2pl4h4nji2";
10+ };
11+
12+ installPhase = ''
13+ mkdir $out
14+ cp block.t.php $out
15+ '';
16+
17+ meta = with stdenv.lib; {
18+ description = "gettext for the smarty3 framework";
19+ license = licenses.lgpl21;
20+ homepage = https://github.com/kikimosha/smarty3-i18n;
21+ maintainers = with maintainers; [ das_j ];
22+ platforms = platforms.all;
23+ };
24+}