depot/third_party/nixpkgs/pkgs/development/tools/pew/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
693 B
Nix

{ stdenv, python3 }:
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" ];
meta = with stdenv.lib; {
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 ];
};
}