tv urlwatch: add xml and xml'
This commit is contained in:
parent
4258ff5c0c
commit
f319d31e36
@ -7,6 +7,13 @@ with import <stockholm/lib>;
|
|||||||
concatMapStringsSep " " shell.escape (toList args)
|
concatMapStringsSep " " shell.escape (toList args)
|
||||||
}";
|
}";
|
||||||
};
|
};
|
||||||
|
xml = xml' ["--format" "-"];
|
||||||
|
xml' = args: url: {
|
||||||
|
inherit url;
|
||||||
|
filter = "system:${pkgs.libxml2}/bin/xmllint ${
|
||||||
|
concatMapStringsSep " " shell.escape (toList args)
|
||||||
|
}";
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
krebs.urlwatch = {
|
krebs.urlwatch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user