at master 1.1 kB view raw
1{ 2 lib, 3 atomicwrites, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pythonOlder, 8 requests, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "fpyutils"; 14 version = "4.0.1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "frnmst"; 21 repo = "fpyutils"; 22 tag = version; 23 hash = "sha256-VVR1zsejO6kHlMjqqlftDKu3/SyDzgPov9f48HYL/Bk="; 24 }; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 propagatedBuildInputs = [ 29 atomicwrites 30 requests 31 ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 enabledTestPaths = [ "fpyutils/tests/*.py" ]; 36 37 disabledTests = [ 38 # Don't run test which requires bash 39 "test_execute_command_live_output" 40 ]; 41 42 pythonImportsCheck = [ "fpyutils" ]; 43 44 meta = with lib; { 45 description = "Collection of useful non-standard Python functions"; 46 homepage = "https://github.com/frnmst/fpyutils"; 47 changelog = "https://blog.franco.net.eu.org/software/fpyutils-${version}/release.html"; 48 license = with licenses; [ gpl3Plus ]; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}