lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.03-beta 36 lines 1.3 kB view raw
1{ stdenv, fetchgit, mercurial, makeWrapper, 2 asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt, libxml2 3}: 4 5stdenv.mkDerivation rec { 6 rev = "e716a9e1a9e460a45663694ba4e9e8894a8452b2"; 7 version = "0.2-${rev}"; 8 name = "git-remote-hg-${version}"; 9 10 src = fetchgit { 11 inherit rev; 12 url = "git://github.com/fingolfin/git-remote-hg.git"; 13 sha256 = "0cmlfdxfabrs3x10mfjfap8wz67s8xk2pjn2wlcj9k2v84gji60m"; 14 }; 15 16 buildInputs = [ mercurial.python mercurial makeWrapper 17 asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt libxml2 18 ]; 19 20 doCheck = false; 21 22 installFlags = "HOME=\${out} install-doc"; 23 24 postInstall = '' 25 wrapProgram $out/bin/git-remote-hg \ 26 --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 []}" 27 ''; 28 29 meta = with stdenv.lib; { 30 homepage = https://github.com/felipec/git-remote-hg; 31 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"; 32 license = licenses.gpl2; 33 maintainers = [ maintainers.garbas ]; 34 platforms = platforms.unix; 35 }; 36}