1{ lib, python3, fetchPypi }:
2
3with python3.pkgs;
4
5buildPythonApplication rec {
6 pname = "pew";
7 version = "1.2.0";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "04anak82p4v9w0lgfs55s7diywxil6amq8c8bhli143ca8l2fcdq";
12 };
13
14 propagatedBuildInputs = [ virtualenv virtualenv-clone setuptools ];
15
16 # no tests are packaged
17 checkPhase = ''
18 $out/bin/pew > /dev/null
19 '';
20
21 pythonImportsCheck = [ "pew" ];
22
23 meta = with lib; {
24 homepage = "https://github.com/berdario/pew";
25 description = "Tools to manage multiple virtualenvs written in pure python";
26 license = licenses.mit;
27 platforms = platforms.all;
28 maintainers = with maintainers; [ berdario ];
29 };
30}