Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 873 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, isPy27, isPy34 3, pylev, pastel, typing, enum34 }: 4 5buildPythonPackage rec { 6 pname = "clikit"; 7 version = "0.2.3"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0zr1s0xhk62p9a6zcp5whvsb27lddyk8gx03k9l8q18jp7y3igbv"; 12 }; 13 14 propagatedBuildInputs = [ 15 pylev pastel 16 ] ++ lib.optional (isPy27 || isPy34) typing 17 ++ lib.optional isPy27 enum34; 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/clikit; 26 description = "A group of utilities to build beautiful and testable command line interfaces"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ jakewaksbaum ]; 29 }; 30}