libctemplate: 2.3 -> 2.4 (#107423)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
c1f95fedb5
commit
0b50507102
@ -1,21 +1,26 @@
|
||||
{ stdenv, fetchurl, python2 }:
|
||||
{ stdenv, fetchFromGitHub, python3, autoconf, automake, libtool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ctemplate";
|
||||
version = "2.4";
|
||||
|
||||
version = "2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/OlafvdSpek/ctemplate/archive/ctemplate-${version}.tar.gz";
|
||||
sha256 = "0mi5g2xlws10z1g4x0cj6kd1r673kkav35pgzyqxa1w47xnwprcr";
|
||||
src = fetchFromGitHub {
|
||||
owner = "OlafvdSpek";
|
||||
repo = "ctemplate";
|
||||
rev = "ctemplate-${version}";
|
||||
sha256 = "1x0p5yym6vvcx70pm8ihnbxxrl2wnblfp72ih5vjyg8mzkc8cxrr";
|
||||
};
|
||||
|
||||
buildInputs = [ python2 ];
|
||||
nativeBuildInputs = [ python3 autoconf automake libtool ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A simple but powerful template language for C++";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user