Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config, glib }:
2
3stdenv.mkDerivation rec {
4 pname = "ctpl";
5 version = "0.3.4";
6
7 src = fetchurl {
8 url = "https://download.tuxfamily.org/ctpl/releases/ctpl-${version}.tar.gz";
9 sha256 = "1yr92xv9n6kgyixwg9ps4zb404ic5pgb171k4bi3mv9p6k8gv59s";
10 };
11
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ glib ];
14
15 meta = with lib; {
16 homepage = "http://ctpl.tuxfamily.org/";
17 description = "Template engine library written in C";
18 platforms = platforms.linux;
19 maintainers = [ ];
20 license = licenses.gpl3Plus;
21 };
22}