mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-02 10:49:55 +00:00
34 lines
672 B
Nix
34 lines
672 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "hstspreload";
|
|
version = "2026.10.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sethmlarson";
|
|
repo = "hstspreload";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-bL6VxglXYjYeDY7Z7hX0o0xEbk/7uHy20N+Ot9xnB+Q=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
})
|