Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 54 lines 816 B view raw
1{ stdenv 2, lib 3, buildPythonPackage 4, fetchPypi 5, argcomplete 6, colorama 7, jmespath 8, knack 9, pygments 10, pyyaml 11, six 12, tabulate 13, mock 14, vcrpy 15, pytest 16}: 17 18buildPythonPackage rec { 19 pname = "knack"; 20 version = "0.6.3"; 21 22 src = fetchPypi { 23 inherit pname version; 24 sha256 = "08g15kwfppdr7vhbsg6qclpqbf11d9k3hwgrmvhh5fa1jrk95b5i"; 25 }; 26 27 propagatedBuildInputs = [ 28 argcomplete 29 colorama 30 jmespath 31 pygments 32 pyyaml 33 six 34 tabulate 35 ]; 36 37 checkInputs = [ 38 mock 39 vcrpy 40 pytest 41 ]; 42 43 checkPhase = '' 44 HOME=$TMPDIR pytest . 45 ''; 46 47 meta = with lib; { 48 homepage = https://github.com/microsoft/knack; 49 description = "A Command-Line Interface framework"; 50 platforms = platforms.all; 51 license = licenses.mit; 52 maintainers = with maintainers; [ jonringer ]; 53 }; 54}