Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config, libestr }: 2stdenv.mkDerivation rec { 3 pname = "libee"; 4 version = "0.4.1"; 5 6 src = fetchurl { 7 url = "http://www.libee.org/download/files/download/libee-${version}.tar.gz"; 8 sha256 = "09xhgzmsq0g3jsyj24vy67bhzk2fv971w5ixdkhfwgar70cw1nn0"; 9 }; 10 11 nativeBuildInputs = [ pkg-config ]; 12 buildInputs = [ libestr]; 13 14 meta = { 15 description = "An Event Expression Library inspired by CEE"; 16 homepage = "http://www.libee.org/"; 17 license = lib.licenses.lgpl21Plus; 18 mainProgram = "libee-convert"; 19 platforms = lib.platforms.unix; 20 }; 21}