Merge branch 'master' into staging-next
This commit is contained in:
32
pkgs/tools/text/m2r/default.nix
Normal file
32
pkgs/tools/text/m2r/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, docutils
|
||||
, mistune
|
||||
, pygments
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "m2r";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "miyakogi";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-JNLPEXMoiISh4RnKP+Afj9/PJp9Lrx9UYHsfuGAL7uI=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
docutils
|
||||
mistune
|
||||
pygments
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/miyakogi/m2r";
|
||||
description = "Markdown-to-RestructuredText converter";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
};
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mark";
|
||||
version = "5.2.2";
|
||||
version = "5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kovetskiy";
|
||||
repo = "mark";
|
||||
rev = version;
|
||||
sha256 = "sha256-CS9xzRxTKvBuDM1vs+p+U7LSMP8W6+cKNb+Sd3wgwig=";
|
||||
sha256 = "sha256-IDW8dd2Bgr936hUKkfkoQ/kBnN+0uacJ1uX4Xhd27Vc=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-nneQ0B7PyHAqiOzrmWqSssZM8B3np4VFUJLBqUvkjZE=";
|
||||
|
||||
41
pkgs/tools/text/xml/xmldiff/default.nix
Normal file
41
pkgs/tools/text/xml/xmldiff/default.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, lxml
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "xmldiff";
|
||||
version = "2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shoobx";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-xqudHYfwOce2C0pcFzId0JDIIC6R5bllmVKsH+CvTdE=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
lxml
|
||||
six
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://xmldiff.readthedocs.io/en/stable/";
|
||||
description = "A library and command line utility for diffing xml";
|
||||
longDescription = ''
|
||||
xmldiff is a library and a command-line utility for making diffs out of
|
||||
XML. This may seem like something that doesn't need a dedicated utility,
|
||||
but change detection in hierarchical data is very different from change
|
||||
detection in flat data. XML type formats are also not only used for
|
||||
computer readable data, it is also often used as a format for hierarchical
|
||||
data that can be rendered into human readable formats. A traditional diff
|
||||
on such a format would tell you line by line the differences, but this
|
||||
would not be be readable by a human. xmldiff provides tools to make human
|
||||
readable diffs in those situations.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user