f61cd259d4
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
32 lines
865 B
Nix
32 lines
865 B
Nix
{ lib, fetchFromGitHub, python3Packages
|
|
, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt, libxml2
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "git-remote-hg";
|
|
version = "1.0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mnauw";
|
|
repo = "git-remote-hg";
|
|
rev = "v${version}";
|
|
sha256 = "1crgq13v2p9wmw1yhckmyzybh8h1nz3839qhqvzh48vxqkailzmn";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt libxml2
|
|
];
|
|
propagatedBuildInputs = with python3Packages; [ mercurial ];
|
|
|
|
postInstall = ''
|
|
make install-doc prefix=$out
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mnauw/git-remote-hg";
|
|
description = "Semi-official Mercurial bridge from Git project";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ qyliss ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|