30 lines
569 B
Nix
30 lines
569 B
Nix
|
{ stdenv
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, pytest
|
||
|
, virtualenv
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "virtualenv-clone";
|
||
|
version = "0.5.4";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "0absh96fsxk9di7ir76f5djyfm2c214wnyk53avrhjy8akflhpk6";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
|
||
|
}
|