2020-07-16 22:53:31 +03:00
|
|
|
{ stdenv, 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";
|
2020-07-16 22:22:18 +03:00
|
|
|
version = "unstable-2020-06-12";
|
2014-06-28 17:15:31 +04:00
|
|
|
|
2019-03-16 01:56:18 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mnauw";
|
|
|
|
repo = "git-remote-hg";
|
2020-07-16 22:22:18 +03:00
|
|
|
rev = "28ed63b707919734d230cb13bff7d231dfeee8fc";
|
|
|
|
sha256 = "0dw48vbnk7pp0w6fzgl29mq8fyn52pacbya2w14z9c6jfvh5sha1";
|
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
|
|
|
};
|
|
|
|
}
|