pythonPackages.face: init at 0.1.0

This commit is contained in:
James Kay 2018-11-29 11:05:59 +00:00 committed by worldofpeace
parent ca4104cc07
commit a5a6b8eaa2
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, buildPythonPackage, fetchPypi, boltons, pytest }:
buildPythonPackage rec {
pname = "face";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0zdp5qlrhxf4dypvvd0zr7zxj2svkz9wblp37vgw01wvcy9b1ds7";
};
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 ];
};
}

View File

@ -354,6 +354,8 @@ in {
eradicate = callPackage ../development/python-modules/eradicate { };
face = callPackage ../development/python-modules/face { };
fastpbkdf2 = callPackage ../development/python-modules/fastpbkdf2 { };
fido2 = callPackage ../development/python-modules/fido2 { };