pythonPAckages.hgsvn: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:53:08 -04:00
parent 2c5ff5ea3f
commit 63183f8b76
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 33 additions and 17 deletions

View File

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, hglib
, isPy3k
, isPyPy
}:
buildPythonPackage rec {
pname = "hgsvn";
version = "0.3.11";
disabled = isPy3k || isPyPy;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0yvhwdh8xx8rvaqd3pnnyb99hfa0zjdciadlc933p27hp9rf880p";
};
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;
};
}

View File

@ -4221,23 +4221,7 @@ in {
zope_interface = callPackage ../development/python-modules/zope_interface { };
hgsvn = buildPythonPackage rec {
name = "hgsvn-0.3.11";
src = pkgs.fetchurl rec {
url = "mirror://pypi/h/hgsvn/${name}-hotfix.zip";
sha256 = "0yvhwdh8xx8rvaqd3pnnyb99hfa0zjdciadlc933p27hp9rf880p";
};
disabled = isPy3k || isPyPy;
doCheck = false; # too many assumptions
buildInputs = with self; [ nose ];
propagatedBuildInputs = with self; [ hglib ];
meta = {
homepage = https://pypi.python.org/pypi/hgsvn;
};
};
hgsvn = callPackage ../development/python-modules/hgsvn { };
cliapp = buildPythonPackage rec {
name = "cliapp-${version}";