nixpkgs/pkgs/development/libraries/libroxml/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
582 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libroxml";
version = "2.3.0";
src = fetchurl {
url = "http://download.libroxml.net/pool/v2.x/libroxml-${version}.tar.gz";
sha256 = "0y0vc9n4rfbimjp28nx4kdfzz08j5xymh5xjy84l9fhfac5z5a0x";
};
meta = with lib; {
description = "This library is minimum, easy-to-use, C implementation for xml file parsing";
homepage = "https://www.libroxml.net/";
license = licenses.lgpl3;
maintainers = with maintainers; [ mpickering ];
mainProgram = "roxml";
platforms = platforms.unix;
};
}