mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 17:23:57 +00:00
34 lines
671 B
Nix
34 lines
671 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "hstspreload";
|
|
version = "2026.5.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sethmlarson";
|
|
repo = "hstspreload";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-QmhQJqt75rP5YWBLJ3fA7Ud7o6AWIpUUSoJ5tAA9pPo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# Tests require network connection
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "hstspreload" ];
|
|
|
|
meta = {
|
|
description = "Chromium HSTS Preload list";
|
|
homepage = "https://github.com/sethmlarson/hstspreload";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
})
|