nixpkgs/pkgs/development/libraries/libee/default.nix
Malo Bourgon 9e4be53221 treewide: add meta.mainProgram to some libraries
where a single bin is provided and someone might actually want to run it
2022-05-04 18:11:50 -07:00

21 lines
591 B
Nix

{ lib, stdenv, fetchurl, pkg-config, libestr }:
stdenv.mkDerivation rec {
pname = "libee";
version = "0.4.1";
src = fetchurl {
url = "http://www.libee.org/download/files/download/libee-${version}.tar.gz";
sha256 = "09xhgzmsq0g3jsyj24vy67bhzk2fv971w5ixdkhfwgar70cw1nn0";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libestr];
meta = {
description = "An Event Expression Library inspired by CEE";
homepage = "http://www.libee.org/";
license = lib.licenses.lgpl21Plus;
mainProgram = "libee-convert";
platforms = lib.platforms.unix;
};
}