@@ -2,35 +2,25 @@
22, buildPythonPackage
33, fetchPypi
44, dulwich
5−, isPy3k
6−, fetchpatch
5+, mercurial
76}:
87
98buildPythonPackage rec {
109 pname = "hg-git";
11− version = "0.8.12";
12− disabled = isPy3k;
10+ version = "0.10.2";
1311
1412 src = fetchPypi {
1513 inherit pname version;
16− sha256 = "13hbm0ki6s88r6p65ibvrbxnskinzdz0m9gsshb8s571p91ymfjn";
14+ sha256 = "aae1c47328bb7f928778712654c3d5f100445190e2891f175dac66d743fdb2e8";
1715 };
1816
19− propagatedBuildInputs = [ dulwich ];
20−
21− # Needs patch to work with Mercurial 4.8
22− # https://bitbucket.org/durin42/hg-git/issues/264/unexpected-keyword-argument-createopts-hg
23− patches =
24− fetchpatch {
25− url = "https://bitbucket.org/rsalmaso/hg-git/commits/a778506fd4be0bf1afa75755f6ee9260fa234a0f/raw";
26− sha256 = "12r4qzbc5xcqwv0kvf8g4wjji7n45421zkbf6i75vyi4nl6n4j15";
27− };
17+ propagatedBuildInputs = [ dulwich mercurial ];
2818
2919 meta = with lib; {
3020 description = "Push and pull from a Git server using Mercurial";
31− homepage = "http://hg-git.github.com/";
21+ homepage = "https://hg-git.github.io/";
3222 maintainers = with maintainers; [ koral ];
33− license = licenses.gpl2;
23+ license = licenses.gpl2Only;
3424 };
3525
3626}