mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
30 lines
579 B
Nix
30 lines
579 B
Nix
|
{ 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;
|
||
|
};
|
||
|
|
||
|
}
|