2019-01-07 18:13:19 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, pylev, pastel, clikit }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cleo";
|
2019-05-30 08:49:49 +02:00
|
|
|
version = "0.7.4";
|
2019-01-07 18:13:19 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 08:49:49 +02:00
|
|
|
sha256 = "58d26642fa608a1515093275cd98875100c7d50f01fc1f3bbb7a78dbb73e4b14";
|
2019-01-07 18:13:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pylev
|
|
|
|
pastel
|
|
|
|
clikit
|
|
|
|
];
|
|
|
|
|
|
|
|
# The Pypi tarball doesn't include tests, and the GitHub source isn't
|
|
|
|
# buildable until we bootstrap poetry, see
|
|
|
|
# https://github.com/NixOS/nixpkgs/pull/53599#discussion_r245855665
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://github.com/sdispater/cleo;
|
|
|
|
description = "Allows you to create beautiful and testable command-line interfaces";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
|
|
};
|
|
|
|
}
|