1{ lib 2, atomicwrites 3, buildPythonPackage 4, fetchFromGitHub 5, pytestCheckHook 6, pythonOlder 7, requests 8}: 9 10buildPythonPackage rec { 11 pname = "fpyutils"; 12 version = "2.0.1"; 13 disabled = pythonOlder "3.5"; 14 15 src = fetchFromGitHub { 16 owner = "frnmst"; 17 repo = pname; 18 rev = version; 19 sha256 = "1dksx5ykm7f1bi16wg8kqqqlnc874k3vg9kfjbbbalv8w0g2g2am"; 20 }; 21 22 propagatedBuildInputs = [ 23 atomicwrites 24 requests 25 ]; 26 27 checkInputs = [ 28 pytestCheckHook 29 ]; 30 31 pytestFlagsArray = [ "fpyutils/tests/*.py" ]; 32 33 disabledTests = [ 34 # Don't run test which requires bash 35 "test_execute_command_live_output" 36 ]; 37 38 pythonImportsCheck = [ "fpyutils" ]; 39 40 meta = with lib; { 41 description = "Collection of useful non-standard Python functions"; 42 homepage = "https://github.com/frnmst/fpyutils"; 43 license = with licenses; [ gpl3Plus ]; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}