From 25f4a12bc4d22b0684ef08c5ea3b94e181bde9c6 Mon Sep 17 00:00:00 2001 From: Janne Heß Date: Tue, 7 Aug 2018 18:26:49 +0200 Subject: smarty3-i18n: Init at 1.0 (#44622) --- .../development/libraries/smarty3-i18n/default.nix | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/smarty3-i18n/default.nix (limited to 'pkgs/development/libraries/smarty3-i18n/default.nix') diff --git a/pkgs/development/libraries/smarty3-i18n/default.nix b/pkgs/development/libraries/smarty3-i18n/default.nix new file mode 100644 index 00000000000..941e75b8ba9 --- /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; + }; +} -- cgit 1.4.1