depot/third_party/nixpkgs/pkgs/by-name/gi/git-remote-hg/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

46 lines
863 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.4";
src = fetchFromGitHub {
owner = "mnauw";
repo = "git-remote-hg";
tag = "v${version}";
hash = "sha256-QlXi5LQAYMNCF7ZjQdJxwcjp3K51dGkHVnNw0pgArzg=";
};
nativeBuildInputs = [
asciidoc
xmlto
docbook_xsl
docbook_xml_dtd_45
libxslt
libxml2
];
dependencies = with python3Packages; [ mercurial ];
postInstall = ''
make install-doc prefix=$out
'';
meta = {
homepage = "https://github.com/mnauw/git-remote-hg";
description = "Semi-official Mercurial bridge from Git project";
license = lib.licenses.gpl2;
maintainers = [ ];
platforms = lib.platforms.unix;
};
}