2021-02-05 17:12:51 +00:00
|
|
|
{ lib, python3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
with python3.pkgs;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "pew";
|
|
|
|
version = "1.2.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "04anak82p4v9w0lgfs55s7diywxil6amq8c8bhli143ca8l2fcdq";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ virtualenv virtualenv-clone setuptools ];
|
|
|
|
|
|
|
|
# no tests are packaged
|
|
|
|
checkPhase = ''
|
|
|
|
$out/bin/pew > /dev/null
|
|
|
|
'';
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pew" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/berdario/pew";
|
|
|
|
description = "Tools to manage multiple virtualenvs written in pure python";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ berdario ];
|
|
|
|
};
|
|
|
|
}
|