nixpkgs/pkgs/applications/version-management/git-and-tools/git-remote-hg/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
865 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, python3Packages
, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt, libxml2
2014-06-28 17:15:31 +04:00
}:
python3Packages.buildPythonApplication rec {
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
src = fetchFromGitHub {
owner = "mnauw";
repo = "git-remote-hg";
rev = "v${version}";
2022-03-06 22:15:09 +03:00
sha256 = "0b5lfbrcrvzpz380817md00lbgy5yl4y76vs3vm0bpm5wmr7c027";
2014-06-28 17:15:31 +04:00
};
nativeBuildInputs = [
asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt libxml2
2014-06-28 17:15:31 +04:00
];
propagatedBuildInputs = with python3Packages; [ mercurial ];
2014-06-28 17:15:31 +04:00
postInstall = ''
make install-doc prefix=$out
2014-06-28 17:15:31 +04:00
'';
meta = with lib; {
homepage = "https://github.com/mnauw/git-remote-hg";
description = "Semi-official Mercurial bridge from Git project";
2014-06-28 17:15:31 +04:00
license = licenses.gpl2;
maintainers = with maintainers; [ qyliss ];
platforms = platforms.unix;
2014-06-28 17:15:31 +04:00
};
}