d994dabace
We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
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.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mnauw";
|
|
repo = "git-remote-hg";
|
|
rev = "v${version}";
|
|
sha256 = "0b5lfbrcrvzpz380817md00lbgy5yl4y76vs3vm0bpm5wmr7c027";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|