pythonPackages.mox: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 18:20:39 -04:00 committed by Frederik Rietdijk
parent ded3676b18
commit 4860875eaa
2 changed files with 25 additions and 16 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchurl
}:
buildPythonPackage rec {
pname = "mox";
version = "0.5.3";
src = fetchurl {
url = "http://pymox.googlecode.com/files/${pname}-${version}.tar.gz";
sha256 = "4d18a4577d14da13d032be21cbdfceed302171c275b72adaa4c5997d589a5030";
};
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
homepage = http://code.google.com/p/pymox/;
description = "A mock object framework for Python";
license = licenses.asl20;
};
}

View File

@ -2818,22 +2818,7 @@ in {
moto = callPackage ../development/python-modules/moto {};
mox = buildPythonPackage rec {
name = "mox-0.5.3";
src = pkgs.fetchurl {
url = "http://pymox.googlecode.com/files/${name}.tar.gz";
sha256 = "4d18a4577d14da13d032be21cbdfceed302171c275b72adaa4c5997d589a5030";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = http://code.google.com/p/pymox/;
description = "A mock object framework for Python";
};
};
mox = callPackage ../development/python-modules/mox { };
mozsvc = buildPythonPackage rec {
name = "mozsvc-${version}";