summary refs log tree commit diff
path: root/pkgs/development/libraries/smarty3-i18n/default.nix
blob: cd1584ac739bbde73760381a6aaf5b197415235c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub, ... }: stdenv.mkDerivation rec {
  pname = "smarty-i18n";
  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;
  };
}