3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/face/default.nix

32 lines
837 B
Nix
Raw Normal View History

2018-11-29 11:05:59 +00:00
{ stdenv, buildPythonPackage, fetchPypi, boltons, pytest }:
buildPythonPackage rec {
pname = "face";
2019-10-24 07:47:30 +01:00
version = "19.1.2";
2018-11-29 11:05:59 +00:00
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:30 +01:00
sha256 = "38c94ec17a4d6f9628f094b697faca0f802f4028071ce8cbdb3116d4cde772a3";
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 stdenv.lib; {
homepage = https://github.com/mahmoud/face;
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 ];
};
}