nixpkgs/pkgs/development/python-modules/virtualenv-clone/default.nix
2021-01-25 18:31:47 +01:00

30 lines
559 B
Nix

{ lib
, 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 lib; {
homepage = "https://github.com/edwardgeorge/virtualenv-clone";
description = "Script to clone virtualenvs";
license = licenses.mit;
};
}