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

32 lines
839 B
Nix
Raw Normal View History

2018-11-29 12:05:59 +01:00
{ stdenv, buildPythonPackage, fetchPypi, boltons, pytest }:
buildPythonPackage rec {
pname = "face";
2019-10-24 08:47:30 +02:00
version = "19.1.2";
2018-11-29 12:05:59 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 08:47:30 +02:00
sha256 = "38c94ec17a4d6f9628f094b697faca0f802f4028071ce8cbdb3116d4cde772a3";
2018-11-29 12:05:59 +01: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";
2018-11-29 12:05:59 +01: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 ];
};
}