pythonPackages.knack: init at 0.6.2

This commit is contained in:
Jonathan Ringer 2019-06-05 16:05:51 -07:00 committed by Frederik Rietdijk
parent c508e700bd
commit 1c47ee8570
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,55 @@
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, argcomplete
, colorama
, jmespath
, knack
, pygments
, pyyaml
, six
, tabulate
, mock
, vcrpy
, pytest
}:
buildPythonPackage rec {
pname = "knack";
version = "0.6.2";
src = fetchPypi {
inherit pname version;
sha256 = "1kxxj9m2mvva9rz11m6pgdg0mi712d28faj4633rl23qa53sh7i8";
};
propagatedBuildInputs = [
argcomplete
colorama
jmespath
pygments
pyyaml
six
tabulate
];
checkInputs = [
mock
vcrpy
pytest
];
# tries to make a '/homeless-shelter' dir
checkPhase = ''
pytest -k 'not test_cli_exapp1'
'';
meta = with lib; {
homepage = https://github.com/microsoft/knack;
description = "A Command-Line Interface framework";
platforms = platforms.all;
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@ -3160,6 +3160,8 @@ in {
kitchen = callPackage ../development/python-modules/kitchen { };
knack = callPackage ../development/python-modules/knack { };
kubernetes = callPackage ../development/python-modules/kubernetes { };
pylast = callPackage ../development/python-modules/pylast { };