libctemplate: 2.3 -> 2.4 (#107423)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Pascal Bach 2020-12-24 19:11:22 +01:00 committed by GitHub
parent c1f95fedb5
commit 0b50507102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,21 +1,26 @@
{ stdenv, fetchurl, python2 }: { stdenv, fetchFromGitHub, python3, autoconf, automake, libtool }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ctemplate"; pname = "ctemplate";
version = "2.4";
version = "2.3"; src = fetchFromGitHub {
owner = "OlafvdSpek";
src = fetchurl { repo = "ctemplate";
url = "https://github.com/OlafvdSpek/ctemplate/archive/ctemplate-${version}.tar.gz"; rev = "ctemplate-${version}";
sha256 = "0mi5g2xlws10z1g4x0cj6kd1r673kkav35pgzyqxa1w47xnwprcr"; sha256 = "1x0p5yym6vvcx70pm8ihnbxxrl2wnblfp72ih5vjyg8mzkc8cxrr";
}; };
buildInputs = [ python2 ]; nativeBuildInputs = [ python3 autoconf automake libtool ];
postPatch = '' postPatch = ''
patchShebangs . patchShebangs .
''; '';
preConfigure = ''
./autogen.sh
'';
meta = { meta = {
description = "A simple but powerful template language for C++"; description = "A simple but powerful template language for C++";
longDescription = '' longDescription = ''