{ lib , buildPythonPackage , fetchFromGitHub , isPy27 }: buildPythonPackage rec { pname = "hstspreload"; version = "2021.6.28"; disabled = isPy27; src = fetchFromGitHub { owner = "sethmlarson"; repo = pname; rev = version; sha256 = "sha256-SZGyn79R3+IwtoZ+khgFnl0WosRoCcKNk8efGxbOugc="; }; # tests require network connection doCheck = false; pythonImportsCheck = [ "hstspreload" ]; meta = with lib; { description = "Chromium HSTS Preload list as a Python package and updated daily"; homepage = "https://github.com/sethmlarson/hstspreload"; license = licenses.bsd3; maintainers = with maintainers; [ costrouc SuperSandro2000 ]; }; }