1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libctemplate/default.nix

30 lines
776 B
Nix
Raw Normal View History

2017-02-08 18:38:53 +00:00
{ stdenv, fetchurl, python2 }:
stdenv.mkDerivation rec {
pname = "ctemplate";
version = "2.3";
src = fetchurl {
url = "https://github.com/OlafvdSpek/ctemplate/archive/ctemplate-${version}.tar.gz";
sha256 = "0mi5g2xlws10z1g4x0cj6kd1r673kkav35pgzyqxa1w47xnwprcr";
};
2017-02-08 18:38:53 +00:00
buildInputs = [ python2 ];
postPatch = ''
patchShebangs .
'';
meta = {
description = "A simple but powerful template language for C++";
longDescription = ''
CTemplate is a simple but powerful template language for C++. It
emphasizes separating logic from presentation: it is impossible to
embed application logic in this template language.
'';
homepage = https://github.com/OlafvdSpek/ctemplate;
license = stdenv.lib.licenses.bsd3;
};
}