pythonPackages.virtualenv-clone: refactor move to python-modules
This commit is contained in:
parent
f4e04780a2
commit
fbc0dba3d1
|
@ -0,0 +1,29 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, virtualenv
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "virtualenv-clone";
|
||||||
|
version = "0.2.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "7087ba4eb48acfd5209a3fd03e15d072f28742619127c98333057e32748d91c4";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ virtualenv ];
|
||||||
|
|
||||||
|
# needs tox to run the tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/edwardgeorge/virtualenv-clone;
|
||||||
|
description = "Script to clone virtualenvs";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -4087,26 +4087,7 @@ in {
|
||||||
|
|
||||||
virtualenv = callPackage ../development/python-modules/virtualenv { };
|
virtualenv = callPackage ../development/python-modules/virtualenv { };
|
||||||
|
|
||||||
virtualenv-clone = buildPythonPackage rec {
|
virtualenv-clone = callPackage ../development/python-modules/virtualenv-clone { };
|
||||||
name = "virtualenv-clone-0.2.5";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/v/virtualenv-clone/${name}.tar.gz";
|
|
||||||
sha256 = "7087ba4eb48acfd5209a3fd03e15d072f28742619127c98333057e32748d91c4";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [pytest];
|
|
||||||
propagatedBuildInputs = with self; [virtualenv];
|
|
||||||
|
|
||||||
# needs tox to run the tests
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Script to clone virtualenvs";
|
|
||||||
license = licenses.mit;
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
virtualenvwrapper = buildPythonPackage (rec {
|
virtualenvwrapper = buildPythonPackage (rec {
|
||||||
name = "virtualenvwrapper-4.3";
|
name = "virtualenvwrapper-4.3";
|
||||||
|
|
Loading…
Reference in New Issue