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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
941 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, boltons
, pytestCheckHook
, pythonOlder
}:
2018-11-29 11:05:59 +00:00
buildPythonPackage rec {
pname = "face";
version = "22.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
2018-11-29 11:05:59 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-1daS+QvI9Zh7Y25H42OEubvaSZqvCneqCwu+g0x2kj0=";
2018-11-29 11:05:59 +00:00
};
propagatedBuildInputs = [
boltons
];
checkInputs = [
pytestCheckHook
];
2018-11-29 11:05:59 +00:00
pythonImportsCheck = [
"face"
];
2018-11-29 11:05:59 +00:00
disabledTests = [
# Assertion error as we take the Python release into account
"test_search_prs_basic"
];
2018-11-29 11:05:59 +00:00
meta = with lib; {
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.
'';
homepage = "https://github.com/mahmoud/face";
2018-11-29 11:05:59 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ twey ];
};
}