Skip to content

Commit

Permalink
libctemplate: 2.3 -> 2.4 (#107423)
Browse files Browse the repository at this point in the history
Co-authored-by: Sandro <[email protected]>
  • Loading branch information
bachp and SuperSandro2000 authored Dec 24, 2020
1 parent c1f95fe commit 0b50507
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions pkgs/development/libraries/libctemplate/default.nix
Original file line number Diff line number Diff line change
@@ -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 = ''
Expand Down

0 comments on commit 0b50507

Please sign in to comment.