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