Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 28 lines 622 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, isPy27 5}: 6 7buildPythonPackage rec { 8 pname = "hstspreload"; 9 version = "2020.2.5"; 10 disabled = isPy27; 11 12 src = fetchFromGitHub { 13 owner = "sethmlarson"; 14 repo = pname; 15 rev = version; 16 sha256 = "1jz4qma04vkiczlj0fd9ahjf6c3yxvycvhp48c3n3l4aw4gfsbiz"; 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}