mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-28 21:15:57 +00:00
34 lines
671 B
Nix
34 lines
671 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "hstspreload";
|
|
version = "2026.6.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sethmlarson";
|
|
repo = "hstspreload";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-9YkMEu3ll2hRYrkiIo6mIdRIYoOLrtjv3B4Jq9wfgOo=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
})
|