summary refs log tree commit diff
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2018-08-07 18:26:49 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-07 18:26:49 +0200
commit25f4a12bc4d22b0684ef08c5ea3b94e181bde9c6 (patch)
tree67aa529044f8dbc92e0aac81d64b8bc230d09fb3
parent1924e14d2e3424da2aa88b1db4eaee635da33230 (diff)
downloadnixpkgs-25f4a12bc4d22b0684ef08c5ea3b94e181bde9c6.tar
nixpkgs-25f4a12bc4d22b0684ef08c5ea3b94e181bde9c6.tar.gz
nixpkgs-25f4a12bc4d22b0684ef08c5ea3b94e181bde9c6.tar.bz2
nixpkgs-25f4a12bc4d22b0684ef08c5ea3b94e181bde9c6.tar.lz
nixpkgs-25f4a12bc4d22b0684ef08c5ea3b94e181bde9c6.tar.xz
nixpkgs-25f4a12bc4d22b0684ef08c5ea3b94e181bde9c6.tar.zst
nixpkgs-25f4a12bc4d22b0684ef08c5ea3b94e181bde9c6.zip
smarty3-i18n: Init at 1.0 (#44622)
-rw-r--r--pkgs/development/libraries/smarty3-i18n/default.nix24
-rw-r--r--pkgs/top-level/all-packages.nix1
2 files changed, 25 insertions, 0 deletions
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;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index a4f9398dbb7..4b28c3ad52f 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;