python.pkgs.area53: move to separate expression

This commit is contained in:
wisut hantanong 2017-07-28 14:59:17 +07:00
parent ff0e08c015
commit 76c4ec7519
2 changed files with 19 additions and 14 deletions

View File

@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi
, boto }:
buildPythonPackage rec {
pname = "Area53";
version = "0.94";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0v9b7f8b6v21y410anx5sr52k2ac8jrzdf19q6m6p0zsdsf9vr42";
};
# error: invalid command 'test'
doCheck = false;
propagatedBuildInputs = [ boto ];
}

View File

@ -617,20 +617,7 @@ in {
argcomplete = callPackage ../development/python-modules/argcomplete { }; argcomplete = callPackage ../development/python-modules/argcomplete { };
area53 = buildPythonPackage (rec { area53 = callPackage ../development/python-modules/area53 { };
name = "Area53-0.94";
src = pkgs.fetchurl {
url = "mirror://pypi/A/Area53/${name}.tar.gz";
sha256 = "0v9b7f8b6v21y410anx5sr52k2ac8jrzdf19q6m6p0zsdsf9vr42";
};
# error: invalid command 'test'
doCheck = false;
propagatedBuildInputs = with self; [ self.boto ];
});
chai = buildPythonPackage rec { chai = buildPythonPackage rec {
name = "chai-${version}"; name = "chai-${version}";