2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-29 15:53:08 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, hglib
|
|
|
|
, isPy3k
|
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hgsvn";
|
2018-11-11 14:47:25 +01:00
|
|
|
version = "0.3.15";
|
2018-10-29 15:53:08 +01:00
|
|
|
disabled = isPy3k || isPyPy;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2018-11-11 14:47:25 +01:00
|
|
|
sha256 = "036270cc2803f7a7de3842e8c593849631b2293e647aa3444f68f1b1834d1fa1";
|
2018-10-29 15:53:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ hglib ];
|
|
|
|
|
|
|
|
doCheck = false; # too many assumptions
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://pypi.python.org/pypi/hgsvn";
|
2018-10-29 15:53:08 +01:00
|
|
|
description = "A set of scripts to work locally on Subversion checkouts using Mercurial";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|