2019-12-29 19:06:34 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hstspreload";
|
2020-05-23 14:25:05 +02:00
|
|
|
version = "2020.5.19";
|
2019-12-29 19:06:34 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sethmlarson";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-23 14:25:05 +02:00
|
|
|
sha256 = "09a5vajzw3f2kpdq9ydzx1f840xmdmzb6br3ns79mnqnsw6nfs6z";
|
2019-12-29 19:06:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# tests require network connection
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Chromium HSTS Preload list as a Python package and updated daily";
|
2020-03-03 01:20:01 +01:00
|
|
|
homepage = "https://github.com/sethmlarson/hstspreload";
|
2019-12-29 19:06:34 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|