nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 30 lines 885 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, isPy27, isPy34 3, pylev, pastel, typing, enum34 }: 4 5buildPythonPackage rec { 6 pname = "clikit"; 7 version = "0.4.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "8ae4766b974d7b1983e39d501da9a0aadf118a907a0c9b50714d027c8b59ea81"; 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}