nixpkgs/pkgs/development/python-modules/virtualenv-clone/default.nix

30 lines
579 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, virtualenv
}:
buildPythonPackage rec {
pname = "virtualenv-clone";
version = "0.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "c88ae171a11b087ea2513f260cdac9232461d8e9369bcd1dc143fc399d220557";
};
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;
};
}