depot/third_party/nixpkgs/pkgs/development/python-modules/hstspreload/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

34 lines
736 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "hstspreload";
version = "2022.8.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "sethmlarson";
repo = pname;
rev = version;
sha256 = "sha256-lQ28j4vOtxSjkMZXTKG+vesAN9KWj5T4sZ3QbaWP9Gw=";
};
# 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 ];
};
}