3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #57730 from alyssais/git-remote-hg

gitAndTools.git-remote-hg: 0.2-e716a9e1a9e460a45663694ba4e9e8894a8452b2 -> 1.0.0
This commit is contained in:
Alyssa Ross 2019-04-16 09:37:05 +00:00 committed by GitHub
commit 2df0437695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,16 +1,16 @@
{ stdenv, fetchgit, mercurial, makeWrapper,
asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt, libxml2
{ stdenv, lib, fetchFromGitHub, mercurial, makeWrapper
, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt, libxml2
}:
stdenv.mkDerivation rec {
rev = "e716a9e1a9e460a45663694ba4e9e8894a8452b2";
version = "0.2-${rev}";
name = "git-remote-hg-${version}";
pname = "git-remote-hg";
version = "1.0.0";
src = fetchgit {
inherit rev;
url = "git://github.com/fingolfin/git-remote-hg.git";
sha256 = "0cmlfdxfabrs3x10mfjfap8wz67s8xk2pjn2wlcj9k2v84gji60m";
src = fetchFromGitHub {
owner = "mnauw";
repo = "git-remote-hg";
rev = "v${version}";
sha256 = "0anl054zdi5rg5m4bm1n763kbdjkpdws3c89c8w8m5gq1ifsbd4d";
};
buildInputs = [ mercurial.python mercurial makeWrapper
@ -26,9 +26,9 @@ stdenv.mkDerivation rec {
--prefix PYTHONPATH : "$(echo ${mercurial}/lib/python*/site-packages):$(echo ${mercurial.python}/lib/python*/site-packages)${stdenv.lib.concatMapStrings (x: ":$(echo ${x}/lib/python*/site-packages)") mercurial.pythonPackages or []}"
'';
meta = with stdenv.lib; {
homepage = https://github.com/felipec/git-remote-hg;
description = "Semi-official Mercurial bridge from Git project, once installed, it allows you to clone, fetch and push to and from Mercurial repositories as if they were Git ones";
meta = with lib; {
homepage = https://github.com/mnauw/git-remote-hg;
description = "Semi-official Mercurial bridge from Git project";
license = licenses.gpl2;
maintainers = [ maintainers.garbas ];
platforms = platforms.unix;