1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pbr 5, pythonOlder 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "icmplib"; 11 version = "3.0.4"; 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "ValentinBELYN"; 16 repo = pname; 17 rev = "v${version}"; 18 hash = "sha256-PnBcGiUvftz/KYg9Qd2GaIcF3OW4lYH301uI5/M5CBI="; 19 }; 20 21 propagatedBuildInputs = [ 22 pbr 23 requests 24 ]; 25 26 # Project has no tests 27 doCheck = false; 28 pythonImportsCheck = [ "icmplib" ]; 29 30 meta = with lib; { 31 description = "Python implementation of the ICMP protocol"; 32 homepage = "https://github.com/ValentinBELYN/icmplib"; 33 license = with licenses; [ lgpl3Plus ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}