2021-01-25 08:26:54 +00:00
|
|
|
{ lib, python3 }:
|
2017-10-15 17:15:45 +01:00
|
|
|
|
2020-04-07 18:19:49 +01:00
|
|
|
with python3.pkgs;
|
2017-10-15 17:15:45 +01:00
|
|
|
|
2020-04-07 18:19:49 +01:00
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "pew";
|
|
|
|
version = "1.2.0";
|
2017-10-15 17:15:45 +01:00
|
|
|
|
2020-04-07 18:19:49 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "04anak82p4v9w0lgfs55s7diywxil6amq8c8bhli143ca8l2fcdq";
|
|
|
|
};
|
2018-11-25 23:00:40 +00:00
|
|
|
|
2020-04-07 18:19:49 +01:00
|
|
|
propagatedBuildInputs = [ virtualenv virtualenv-clone setuptools ];
|
2017-10-15 17:15:45 +01:00
|
|
|
|
2020-04-07 18:19:49 +01:00
|
|
|
# no tests are packaged
|
|
|
|
checkPhase = ''
|
|
|
|
$out/bin/pew > /dev/null
|
|
|
|
'';
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pew" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-07 18:19:49 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|