at 24.11-pre 33 lines 1.2 kB view raw
1{ lib, fetchurl, buildDunePackage, xmlm }: 2 3buildDunePackage rec { 4 pname = "ezxmlm"; 5 version = "1.1.0"; 6 7 useDune2 = true; 8 9 src = fetchurl { 10 url = "https://github.com/mirage/ezxmlm/releases/download/v${version}/ezxmlm-v${version}.tbz"; 11 sha256 = "123dn4h993mlng9gzf4nc6mw75ja7ndcxkbkwfs48j5jk1z05j6d"; 12 }; 13 14 propagatedBuildInputs = [ xmlm ]; 15 16 meta = with lib; { 17 description = "Combinators to use with xmlm for parsing and selection"; 18 longDescription = '' 19 An "easy" interface on top of the xmlm library. This version provides 20 more convenient (but far less flexible) input and output functions 21 that go to and from [string] values. This avoids the need to write signal 22 code, which is useful for quick scripts that manipulate XML. 23 24 More advanced users should go straight to the Xmlm library and use it 25 directly, rather than be saddled with the Ezxmlm interface. Since the 26 types in this library are more specific than Xmlm, it should interoperate 27 just fine with it if you decide to switch over. 28 ''; 29 maintainers = [ maintainers.carlosdagos ]; 30 homepage = "https://github.com/mirage/ezxmlm/"; 31 license = licenses.isc; 32 }; 33}