1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 20:12:52 +00:00
nixpkgs/pkgs/development/tools/pew/default.nix

31 lines
693 B
Nix
Raw Normal View History

2020-04-07 18:19:49 +01:00
{ stdenv, python3 }:
2020-04-07 18:19:49 +01:00
with python3.pkgs;
2020-04-07 18:19:49 +01:00
buildPythonApplication rec {
pname = "pew";
version = "1.2.0";
2020-04-07 18:19:49 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "04anak82p4v9w0lgfs55s7diywxil6amq8c8bhli143ca8l2fcdq";
};
2020-04-07 18:19:49 +01:00
propagatedBuildInputs = [ virtualenv virtualenv-clone setuptools ];
2020-04-07 18:19:49 +01:00
# 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 ];
};
}