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