Merge remote-tracking branch 'origin/master' into staging
Conflicts: pkgs/servers/serfdom/default.nix
This commit is contained in:
@@ -95,4 +95,7 @@ rec {
|
||||
darcsToGit = callPackage ./darcs-to-git { };
|
||||
|
||||
gitflow = callPackage ./gitflow { };
|
||||
|
||||
git-remote-hg = callPackage ./git-remote-hg { };
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
{ stdenv, fetchgit, mercurial, makeWrapper,
|
||||
asciidoc, xmlto, dbus, docbook_xsl, docbook_xml_dtd_45, libxslt, libxml2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
rev = "185852eac44c25ae2e8d3b3fb6c9630e754e6363";
|
||||
version = "v0.2-185852eac44c25ae2e8d3b3fb6c9630e754e6363";
|
||||
name = "git-remote-hg-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "git://github.com/felipec/git-remote-hg.git";
|
||||
sha256 = "1hc65nvxq7if1imwffyxia0i6vnkbax09gfcl9vq9yffzi8xzzfy";
|
||||
};
|
||||
|
||||
buildInputs = [ mercurial.python mercurial makeWrapper
|
||||
asciidoc xmlto dbus docbook_xsl docbook_xml_dtd_45 libxslt libxml2
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
installFlags = "HOME=\${out}";
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/git-remote-hg \
|
||||
--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}"
|
||||
'';
|
||||
|
||||
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";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.garbas ];
|
||||
};
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
let
|
||||
|
||||
version = "1.9.4";
|
||||
version = "2.0.1";
|
||||
|
||||
svn = subversionClient.override { perlBindings = true; };
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
|
||||
sha256 = "1shxa49lsxn81qpfi60wh7rn5ci4zjgljvr0qczdmnqzd8w1zyvb";
|
||||
sha256 = "1pylqr2qzndy92x3pq8hkwsb3garww2jxb167s6hshrva81s24mb";
|
||||
};
|
||||
|
||||
patches = [ ./docbook2texi.patch ./symlinks-in-bin.patch ./cert-path.patch ];
|
||||
|
||||
Reference in New Issue
Block a user