nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 29 lines 627 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 glib, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "ctpl"; 11 version = "0.3.5"; 12 13 src = fetchurl { 14 url = "https://download.tuxfamily.org/ctpl/releases/ctpl-${finalAttrs.version}.tar.gz"; 15 sha256 = "sha256-IRCPx1Z+0hbe6kWRrb/s6OiLH0uxynfDdACSBkTXVr4="; 16 }; 17 18 nativeBuildInputs = [ pkg-config ]; 19 buildInputs = [ glib ]; 20 21 meta = { 22 homepage = "http://ctpl.tuxfamily.org/"; 23 description = "Template engine library written in C"; 24 mainProgram = "ctpl"; 25 platforms = lib.platforms.linux; 26 maintainers = [ ]; 27 license = lib.licenses.gpl3Plus; 28 }; 29})