2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, glib }:
|
2015-10-29 15:57:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ctpl";
|
2015-10-29 15:57:20 +00:00
|
|
|
version = "0.3.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://download.tuxfamily.org/ctpl/releases/ctpl-${version}.tar.gz";
|
2015-10-29 15:57:20 +00:00
|
|
|
sha256 = "1yr92xv9n6kgyixwg9ps4zb404ic5pgb171k4bi3mv9p6k8gv59s";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ glib ];
|
2015-10-29 15:57:20 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://ctpl.tuxfamily.org/";
|
2015-10-29 15:57:20 +00:00
|
|
|
description = "Template engine library written in C";
|
|
|
|
platforms = platforms.linux;
|
2021-05-07 13:35:21 +00:00
|
|
|
maintainers = [ ];
|
2018-09-30 09:27:21 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2015-10-29 15:57:20 +00:00
|
|
|
};
|
|
|
|
}
|