1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pytest
5, virtualenv
6}:
7
8buildPythonPackage rec {
9 pname = "virtualenv-clone";
10 version = "0.5.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "217bd3f0880c9f85672c0bcc9ad9e0354ab7dfa89c2f117e63aa878b4279f5bf";
15 };
16
17 buildInputs = [ pytest ];
18 propagatedBuildInputs = [ virtualenv ];
19
20 # needs tox to run the tests
21 doCheck = false;
22
23 meta = with stdenv.lib; {
24 homepage = https://github.com/edwardgeorge/virtualenv-clone;
25 description = "Script to clone virtualenvs";
26 license = licenses.mit;
27 };
28
29}