Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 774 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, pylev, pastel, clikit }: 3 4buildPythonPackage rec { 5 pname = "cleo"; 6 version = "0.7.2"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "091nzpfp5incd2fzqych78rvyx4i3djr50cnizbjzr3dc7g00l3s"; 11 }; 12 13 propagatedBuildInputs = [ 14 pylev 15 pastel 16 clikit 17 ]; 18 19 # The Pypi tarball doesn't include tests, and the GitHub source isn't 20 # buildable until we bootstrap poetry, see 21 # https://github.com/NixOS/nixpkgs/pull/53599#discussion_r245855665 22 doCheck = false; 23 24 meta = with lib; { 25 homepage = https://github.com/sdispater/cleo; 26 description = "Allows you to create beautiful and testable command-line interfaces"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ jakewaksbaum ]; 29 }; 30}