nixpkgs/pkgs/development/python-modules/flask-sslify/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

30 lines
632 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
flask,
}:
buildPythonPackage rec {
pname = "flask-sslify";
version = "0.1.5";
src = fetchPypi {
pname = "Flask-SSLify";
inherit version;
sha256 = "0gjl1m828z5dm3c5dpc2qjgi4llf84cp72mafr0ib5fd14y1sgnk";
};
propagatedBuildInputs = [ flask ];
doCheck = false;
pythonImportsCheck = [ "flask_sslify" ];
meta = with lib; {
description = "Flask extension that redirects all incoming requests to HTTPS";
homepage = "https://github.com/kennethreitz42/flask-sslify";
license = licenses.bsd2;
maintainers = with maintainers; [ zhaofengli ];
};
}