2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages
|
2020-04-24 23:36:52 +00:00
|
|
|
, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt, libxml2
|
|
|
|
}:
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "git-remote-hg";
|
2021-10-01 09:20:50 +00:00
|
|
|
version = "1.0.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mnauw";
|
|
|
|
repo = "git-remote-hg";
|
2021-10-01 09:20:50 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1crgq13v2p9wmw1yhckmyzybh8h1nz3839qhqvzh48vxqkailzmn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
nativeBuildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt libxml2
|
|
|
|
];
|
2020-08-20 17:08:02 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [ mercurial ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
2020-08-20 17:08:02 +00:00
|
|
|
make install-doc prefix=$out
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mnauw/git-remote-hg";
|
|
|
|
description = "Semi-official Mercurial bridge from Git project";
|
|
|
|
license = licenses.gpl2;
|
2020-08-20 17:08:02 +00:00
|
|
|
maintainers = with maintainers; [ qyliss ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|