Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 28 lines 624 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, isPy27 5}: 6 7buildPythonPackage rec { 8 pname = "hstspreload"; 9 version = "2020.6.9"; 10 disabled = isPy27; 11 12 src = fetchFromGitHub { 13 owner = "sethmlarson"; 14 repo = pname; 15 rev = version; 16 sha256 = "12js2xcj4979jklc19hjmv5p2b6689p18p4w9swhjc6cgcwm4jy2"; 17 }; 18 19 # tests require network connection 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Chromium HSTS Preload list as a Python package and updated daily"; 24 homepage = "https://github.com/sethmlarson/hstspreload"; 25 license = licenses.bsd3; 26 maintainers = [ maintainers.costrouc ]; 27 }; 28}