From a5a6b8eaa2e78df3955dc1c2e0f6d655b056a3c8 Mon Sep 17 00:00:00 2001 From: James Kay Date: Thu, 29 Nov 2018 11:05:59 +0000 Subject: [PATCH] pythonPackages.face: init at 0.1.0 --- .../python-modules/face/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/face/default.nix 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index af0f255b05cf..12b43833681e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };