Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 837 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, boltons, pytest }: 2 3buildPythonPackage rec { 4 pname = "face"; 5 version = "19.1.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "38c94ec17a4d6f9628f094b697faca0f802f4028071ce8cbdb3116d4cde772a3"; 10 }; 11 12 propagatedBuildInputs = [ boltons ]; 13 14 checkInputs = [ pytest ]; 15 checkPhase = "pytest face/test"; 16 17 # ironically, test_parse doesn't parse, but fixed in git so no point 18 # reporting 19 doCheck = false; 20 21 meta = with stdenv.lib; { 22 homepage = https://github.com/mahmoud/face; 23 description = "A command-line interface parser and framework"; 24 longDescription = '' 25 A command-line interface parser and framework, friendly for 26 users, full-featured for developers. 27 ''; 28 license = licenses.bsd3; 29 maintainers = with maintainers; [ twey ]; 30 }; 31}