forked from mirrors/nixpkgs
pythonPackages.mox: refactor move to python-modules
This commit is contained in:
parent
ded3676b18
commit
4860875eaa
24
pkgs/development/python-modules/mox/default.nix
Normal file
24
pkgs/development/python-modules/mox/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue