nixpkgs/pkgs/development/python-modules/face/default.nix

32 lines
829 B
Nix
Raw Normal View History

{ 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;
meta = with lib; {
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 ];
};
}