2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, boltons, pytest }:
|
2018-11-29 11:05:59 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "face";
|
2020-06-06 07:47:06 +01:00
|
|
|
version = "20.1.1";
|
2018-11-29 11:05:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:06 +01:00
|
|
|
sha256 = "7d59ca5ba341316e58cf72c6aff85cca2541cf5056c4af45cb63af9a814bed3e";
|
2018-11-29 11:05:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ boltons ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = "pytest face/test";
|
|
|
|
|
|
|
|
# ironically, test_parse doesn't parse, but fixed in git so no point
|
|
|
|
# reporting
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mahmoud/face";
|
2018-11-29 11:05:59 +00:00
|
|
|
description = "A command-line interface parser and framework";
|
|
|
|
longDescription = ''
|
|
|
|
A command-line interface parser and framework, friendly for
|
|
|
|
users, full-featured for developers.
|
|
|
|
'';
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ twey ];
|
|
|
|
};
|
|
|
|
}
|