1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/development/python-modules/face/default.nix

32 lines
837 B
Nix
Raw Normal View History

{ lib, stdenv, 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 ];
};
}