3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/knack/default.nix
2021-11-14 23:13:22 +00:00

53 lines
813 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, argcomplete
, colorama
, jmespath
, pygments
, pyyaml
, six
, tabulate
, mock
, vcrpy
, pytest
}:
buildPythonPackage rec {
pname = "knack";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "7fcab17585c0236885eaef311c01a1e626d84c982aabcac81703afda3f89c81f";
};
propagatedBuildInputs = [
argcomplete
colorama
jmespath
pygments
pyyaml
six
tabulate
];
checkInputs = [
mock
vcrpy
pytest
];
checkPhase = ''
HOME=$TMPDIR pytest .
'';
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 ];
};
}