mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
pythonPackages.knack: init at 0.6.2
This commit is contained in:
parent
c508e700bd
commit
1c47ee8570
55
pkgs/development/python-modules/knack/default.nix
Normal file
55
pkgs/development/python-modules/knack/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -3160,6 +3160,8 @@ in {
|
|||||||
|
|
||||||
kitchen = callPackage ../development/python-modules/kitchen { };
|
kitchen = callPackage ../development/python-modules/kitchen { };
|
||||||
|
|
||||||
|
knack = callPackage ../development/python-modules/knack { };
|
||||||
|
|
||||||
kubernetes = callPackage ../development/python-modules/kubernetes { };
|
kubernetes = callPackage ../development/python-modules/kubernetes { };
|
||||||
|
|
||||||
pylast = callPackage ../development/python-modules/pylast { };
|
pylast = callPackage ../development/python-modules/pylast { };
|
||||||
|
Loading…
Reference in New Issue
Block a user