mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
31 lines
683 B
Nix
31 lines
683 B
Nix
{ lib, 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 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 ];
|
|
};
|
|
}
|