summary refs log tree commit diff
path: root/pkgs/development/libraries/smarty3
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2018-08-04 11:02:23 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-04 11:02:23 +0200
commitae4dc14f0b4d8f25205188f8058eaa27cabf4ea7 (patch)
treec52ae247acc953aa96a8c86841951097f63fda3c /pkgs/development/libraries/smarty3
parentadc4e1d6b79efa20dae246242e6b885a3659ac0b (diff)
downloadnixpkgs-ae4dc14f0b4d8f25205188f8058eaa27cabf4ea7.tar
nixpkgs-ae4dc14f0b4d8f25205188f8058eaa27cabf4ea7.tar.gz
nixpkgs-ae4dc14f0b4d8f25205188f8058eaa27cabf4ea7.tar.bz2
nixpkgs-ae4dc14f0b4d8f25205188f8058eaa27cabf4ea7.tar.lz
nixpkgs-ae4dc14f0b4d8f25205188f8058eaa27cabf4ea7.tar.xz
nixpkgs-ae4dc14f0b4d8f25205188f8058eaa27cabf4ea7.tar.zst
nixpkgs-ae4dc14f0b4d8f25205188f8058eaa27cabf4ea7.zip
smarty3: Init at 3.1.32 (#44427)
Diffstat (limited to 'pkgs/development/libraries/smarty3')
-rw-r--r--pkgs/development/libraries/smarty3/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/libraries/smarty3/default.nix b/pkgs/development/libraries/smarty3/default.nix
new file mode 100644
index 00000000000..2fce5b3368f
--- /dev/null
+++ b/pkgs/development/libraries/smarty3/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, ... }: stdenv.mkDerivation rec {
+  name = "smarty3-${version}";
+  version = "3.1.32";
+
+  src = fetchFromGitHub {
+    owner = "smarty-php";
+    repo = "smarty";
+    rev = "v${version}";
+    sha256 = "1rfa5pzr23db1bivpivljgmgpn99m6ksgli64kmii5cmpvxi00y2";
+  };
+
+  installPhase = ''
+    mkdir $out
+    cp -r libs/* $out
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Smarty 3 template engine";
+    longDescription = ''
+      Smarty is a template engine for PHP, facilitating the
+      separation of presentation (HTML/CSS) from application
+      logic. This implies that PHP code is application
+      logic, and is separated from the presentation.
+    '';
+    homepage = https://www.smarty.net;
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ das_j ];
+  };
+}