Files
nixpkgs/pkgs/development/python-modules/hstspreload/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
651 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "hstspreload";
version = "2025.12.3";
pyproject = true;
src = fetchFromGitHub {
owner = "sethmlarson";
repo = "hstspreload";
tag = version;
hash = "sha256-K44Lzom7AQMsnJGN9RYNfZuD+wbbZtTGStjJtS/4NcE=";
};
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 = [ ];
};
}