git.iko.soy/typeable/nixpkgs
on master help sign in
smarty3: Init at 3.1.32 (#44427)
commitae4dc14f0b4d8f25205188f8058eaa27cabf4ea7 authorJanne Heß <janne@hess.ooo> dateSat 4 Aug 2018, 11:02 (8 years ago) parentadc4e1d
2 files changed+31
pkgs/development/libraries/smarty3/default.nix+29 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/smarty3/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchFromGitHub, ... }: stdenv.mkDerivation rec {
2+ name = "smarty3-${version}";
3+ version = "3.1.32";
4+
5+ src = fetchFromGitHub {
6+ owner = "smarty-php";
7+ repo = "smarty";
8+ rev = "v${version}";
9+ sha256 = "1rfa5pzr23db1bivpivljgmgpn99m6ksgli64kmii5cmpvxi00y2";
10+ };
11+
12+ installPhase = ''
13+ mkdir $out
14+ cp -r libs/* $out
15+ '';
16+
17+ meta = with stdenv.lib; {
18+ description = "Smarty 3 template engine";
19+ longDescription = ''
20+ Smarty is a template engine for PHP, facilitating the
21+ separation of presentation (HTML/CSS) from application
22+ logic. This implies that PHP code is application
23+ logic, and is separated from the presentation.
24+ '';
25+ homepage = https://www.smarty.net;
26+ license = licenses.lgpl21Plus;
27+ maintainers = with maintainers; [ das_j ];
28+ };
29+}
pkgs/top-level/all-packages.nix+2
@@ -5173,6 +5173,8 @@ with pkgs;
51735173 inherit (darwin.apple_sdk.frameworks) IOKit ApplicationServices;
51745174 };
51755175
5176+ smarty3 = callPackage ../development/libraries/smarty3 { };
5177+
51765178 smbldaptools = callPackage ../tools/networking/smbldaptools {
51775179 inherit (perlPackages) perlldap CryptSmbHash DigestSHA1;
51785180 };