diff options
author | James Kay <james@hadean.com> | 2018-11-29 11:05:59 +0000 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-01-08 14:43:28 -0500 |
commit | a5a6b8eaa2e78df3955dc1c2e0f6d655b056a3c8 (patch) | |
tree | 983b8a3f9eb9fcf6b9225ab41cfcb0ebf9c6bd69 /pkgs/development/python-modules/face/default.nix | |
parent | ca4104cc07916f3ccad1e7b6381413f124e8182c (diff) | |
download | nixlib-a5a6b8eaa2e78df3955dc1c2e0f6d655b056a3c8.tar nixlib-a5a6b8eaa2e78df3955dc1c2e0f6d655b056a3c8.tar.gz nixlib-a5a6b8eaa2e78df3955dc1c2e0f6d655b056a3c8.tar.bz2 nixlib-a5a6b8eaa2e78df3955dc1c2e0f6d655b056a3c8.tar.lz nixlib-a5a6b8eaa2e78df3955dc1c2e0f6d655b056a3c8.tar.xz nixlib-a5a6b8eaa2e78df3955dc1c2e0f6d655b056a3c8.tar.zst nixlib-a5a6b8eaa2e78df3955dc1c2e0f6d655b056a3c8.zip |
pythonPackages.face: init at 0.1.0
Diffstat (limited to 'pkgs/development/python-modules/face/default.nix')
-rw-r--r-- | pkgs/development/python-modules/face/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/face/default.nix b/pkgs/development/python-modules/face/default.nix new file mode 100644 index 000000000000..107259854976 --- /dev/null +++ b/pkgs/development/python-modules/face/default.nix @@ -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 ]; + }; +} |