2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, hglib
|
|
|
|
, isPy3k
|
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hgsvn";
|
|
|
|
version = "0.3.15";
|
|
|
|
disabled = isPy3k || isPyPy;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
|
|
|
sha256 = "036270cc2803f7a7de3842e8c593849631b2293e647aa3444f68f1b1834d1fa1";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ hglib ];
|
|
|
|
|
|
|
|
doCheck = false; # too many assumptions
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://pypi.python.org/pypi/hgsvn";
|
|
|
|
description = "A set of scripts to work locally on Subversion checkouts using Mercurial";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|