mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
xmlm,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ezxmlm";
|
|
version = "1.1.0";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ezxmlm/releases/download/v${version}/ezxmlm-v${version}.tbz";
|
|
sha256 = "123dn4h993mlng9gzf4nc6mw75ja7ndcxkbkwfs48j5jk1z05j6d";
|
|
};
|
|
|
|
propagatedBuildInputs = [ xmlm ];
|
|
|
|
meta = with lib; {
|
|
description = "Combinators to use with xmlm for parsing and selection";
|
|
longDescription = ''
|
|
An "easy" interface on top of the xmlm library. This version provides
|
|
more convenient (but far less flexible) input and output functions
|
|
that go to and from [string] values. This avoids the need to write signal
|
|
code, which is useful for quick scripts that manipulate XML.
|
|
|
|
More advanced users should go straight to the Xmlm library and use it
|
|
directly, rather than be saddled with the Ezxmlm interface. Since the
|
|
types in this library are more specific than Xmlm, it should interoperate
|
|
just fine with it if you decide to switch over.
|
|
'';
|
|
maintainers = [ maintainers.carlosdagos ];
|
|
homepage = "https://github.com/mirage/ezxmlm/";
|
|
license = licenses.isc;
|
|
};
|
|
}
|