mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
31 lines
689 B
Nix
31 lines
689 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, isPy27
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hstspreload";
|
|
version = "2021.2.15";
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sethmlarson";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-vHq4DjDh7hBNAK/h/KdzqaEgrG5bg7VQ8fVWuxV7vOg=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|