2021-01-25 11:26:54 +03:00
|
|
|
{ lib, fetchFromGitHub, python3Packages
|
2019-03-16 01:56:18 +03:00
|
|
|
, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt, libxml2
|
2014-06-28 17:15:31 +04:00
|
|
|
}:
|
|
|
|
|
2020-07-16 22:53:31 +03:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2019-03-16 01:56:18 +03:00
|
|
|
pname = "git-remote-hg";
|
2022-03-06 22:15:09 +03:00
|
|
|
version = "1.0.3.2";
|
2014-06-28 17:15:31 +04:00
|
|
|
|
2019-03-16 01:56:18 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mnauw";
|
|
|
|
repo = "git-remote-hg";
|
2021-09-28 11:34:15 +03:00
|
|
|
rev = "v${version}";
|
2022-03-06 22:15:09 +03:00
|
|
|
sha256 = "0b5lfbrcrvzpz380817md00lbgy5yl4y76vs3vm0bpm5wmr7c027";
|
2014-06-28 17:15:31 +04:00
|
|
|
};
|
|
|
|
|
2020-07-16 22:53:31 +03:00
|
|
|
nativeBuildInputs = [
|
2015-04-29 19:58:04 +03:00
|
|
|
asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt libxml2
|
2014-06-28 17:15:31 +04:00
|
|
|
];
|
2020-07-16 22:53:31 +03:00
|
|
|
propagatedBuildInputs = with python3Packages; [ mercurial ];
|
2014-06-28 17:15:31 +04:00
|
|
|
|
|
|
|
postInstall = ''
|
2020-07-16 22:53:31 +03:00
|
|
|
make install-doc prefix=$out
|
2014-06-28 17:15:31 +04:00
|
|
|
'';
|
|
|
|
|
2019-03-16 01:56:18 +03:00
|
|
|
meta = with lib; {
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/mnauw/git-remote-hg";
|
2019-03-16 01:56:18 +03:00
|
|
|
description = "Semi-official Mercurial bridge from Git project";
|
2014-06-28 17:15:31 +04:00
|
|
|
license = licenses.gpl2;
|
2020-07-16 22:22:18 +03:00
|
|
|
maintainers = with maintainers; [ qyliss ];
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = platforms.unix;
|
2014-06-28 17:15:31 +04:00
|
|
|
};
|
|
|
|
}
|