diff options
author | Pascal Bach <pascal.bach@nextrem.ch> | 2020-12-24 19:11:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-24 19:11:22 +0100 |
commit | 0b50507102eb236d707a3466dbe60f5ea7db2ffa (patch) | |
tree | f6d3ceaf975f50f65dd3d6e24c09dc93292778fe | |
parent | c1f95fedb577bbddf952ba1bb98c46b678305e70 (diff) | |
download | nixpkgs-0b50507102eb236d707a3466dbe60f5ea7db2ffa.tar nixpkgs-0b50507102eb236d707a3466dbe60f5ea7db2ffa.tar.gz nixpkgs-0b50507102eb236d707a3466dbe60f5ea7db2ffa.tar.bz2 nixpkgs-0b50507102eb236d707a3466dbe60f5ea7db2ffa.tar.lz nixpkgs-0b50507102eb236d707a3466dbe60f5ea7db2ffa.tar.xz nixpkgs-0b50507102eb236d707a3466dbe60f5ea7db2ffa.tar.zst nixpkgs-0b50507102eb236d707a3466dbe60f5ea7db2ffa.zip |
libctemplate: 2.3 -> 2.4 (#107423)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
-rw-r--r-- | pkgs/development/libraries/libctemplate/default.nix | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/development/libraries/libctemplate/default.nix b/pkgs/development/libraries/libctemplate/default.nix index 35707834c08..b571e816fc4 100644 --- a/pkgs/development/libraries/libctemplate/default.nix +++ b/pkgs/development/libraries/libctemplate/default.nix @@ -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 = '' |