pythonPackages.virtualenv-clone: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 09:22:20 -04:00
parent f4e04780a2
commit fbc0dba3d1
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 30 additions and 20 deletions

View file

@ -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;
};
}

View file

@ -4087,26 +4087,7 @@ in {
virtualenv = callPackage ../development/python-modules/virtualenv { };
virtualenv-clone = buildPythonPackage rec {
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;
};
};
virtualenv-clone = callPackage ../development/python-modules/virtualenv-clone { };
virtualenvwrapper = buildPythonPackage (rec {
name = "virtualenvwrapper-4.3";